[Bug 307652] [NEW] editline truncates at 64 characters in batch mode

Mark O'Donohue mark.odonohue at gmail.com
Sat Dec 13 08:47:56 UTC 2008


Public bug reported:


In batch mode, if the input line is greater than 64 characters, the first 64 characters are lost.

In my case:

$isql-fb < test.sql

the input file of:

SET ECHO ON;
SELECT
  dt.*
FROM
  Table_10 t10
  XXXXJOIN (SELECT * FROM Table_10 t2 WHERE t2.ID = t10.ID) dt ON (1 = 1);


becomes:

SELECT
  dt.*
FROM
  Table_10 t10
N (1 = 1);


In the above the line : 
  XXXXJOIN (SELECT * FROM Table_10 t2 WHERE t2.ID = t10.ID) dt ON (1 = 1);

became: 
N (1 = 1);


This does not happen in interactive mode, nor does it happen with the version of editline that is included in the firebird source distribution.   

This also seems to have been reported and fixed for minix-editline here:

           http://vmlinux.org/jocke/blog/hacks/

I am still investigating, but this first came to our notice with trying
to run the python QMTest tests on the Firebird package distributed with
Ubuntu.

Editline version is the latest: 1.12-5  and a quick look on the Debian
package, didnt show any latter changes or bug reports.

General info:

$ lsb_release -rd
Description:    Ubuntu 7.10
Release:        7.10


$ apt-cache policy libeditline0
libeditline0:
  Installed: 1.12-5
  Candidate: 1.12-5
  Version table:
 *** 1.12-5 0
        500 http://au.archive.ubuntu.com gutsy/universe Packages
        100 /var/lib/dpkg/status


Cheers - Mark

** Affects: editline (Ubuntu)
     Importance: Undecided
         Status: New

-- 
editline truncates at 64 characters in batch mode
https://bugs.launchpad.net/bugs/307652
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list