in reply to open2 or 3 run command using pty
without a trailing semicolon, which means the SQL engine can't (yet) decide wether the statement is complete, or wether you want to go on with "WHERE whatever IS NULL" or so. Tryselect * from users
Update: ... and you didn't close IN; before looping over OUT, so even if your SQL engine recognizes EOF as end of statement, it hasn't received it at that point.my $sql = "select * from users;";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: open2 or 3 run command using pty
by klimenkoandrey (Initiate) on Jul 21, 2014 at 11:33 UTC |