-
-
Notifications
You must be signed in to change notification settings - Fork 235
ISQL will truncate lines longer than 255 when pasting #8524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The issue was introduced by the fix for #7202. The problem is that when using |
Perhaps you cannot go beyond 8191 characters so it looks like a reasonable limit. |
You refers to the command prompt (cmd.exe) limitation, it is not about console in general. While I agree, that such cases is not what really happens, and even 1024 chars per line is more than enough usually, Currently, I use buffer of 32K characters for |
Have you tried with ReadFile instead of ReadConsole? The documentation suggests they should work similarly on a console handle. |
https://learn.microsoft.com/en-us/windows/console/readconsole :
|
Firebird 5 ISQL will truncate lines longer than 255 when pasting (tested on Windows 10)
If any script line has more than 255 chars, it will be truncated and script execution will fail. Attached example script.
Same script will run fine if you paste into Firebird 2.5 ISQL.
sp_test_long_line.txt
The text was updated successfully, but these errors were encountered: