Bug #2026 mysql cmdline client ignores long lines on pasting
Submitted: 5 Dec 2003 12:01 Modified: 5 Dec 2003 12:42
Reporter: [ name withheld ] Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:4.0.16-max-debug OS:Windows (win 98)
Assigned to: CPU Architecture:Any

[5 Dec 2003 12:01] [ name withheld ]
Description:
I have just installed mysql 4.0.16-max-debug and it seems the console interface seems to ignore long lines when the sql statemnets are pasted.

How to repeat:
just paste large sql query with very long lines
[5 Dec 2003 12:42] MySQL Verification Team
The mysql client runs under the limitations of the command prompt
which limits the maximum command line. However the mysql client
offers the feature to split the command line in several rows which
not exceeds the maiximum permited, so you can paste like below:

C:\mysql\bin>mysql -h.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 4 to server version: 4.1.1-alpha-max-nt-debug

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> select product_name, product_id, product_stock,
    -> product_place, product_alternation
    -> from product;