Long SQL statements break TCP/IP connection [CORE1196] #1621
Submitted by: michalk1 (michalk1)
Is related to QA151
Execution of long statement breaks remote protocol connection with errors "Unable to complete network reqest to host" and "Error reading data from the connection" or "Error writing data to the connection". The error probability increases with statement length, especially if it contains comments and/or is spread across many lines.
The same statement executes ok if I
This one is long enough to break the connection reliably, but much shorter statements (around 50 lines, 2 kB size) are affected:
The text was updated successfully, but these errors were encountered:
Commented by: @pmakowski
I can't close this one
When I run such statement with FB2.1 under Windows with isql, isql crash and I get in firebird.log
Commented by: @pcisar
Can't confirm the fix fox 2.1 Beta 1. Attached script will close the connection and crash the client. It doesn't matter whether the connection is local (firebird.log error is: XNET error (xnet:2044) connection lost: another side is dead) or remote (firebird.log error is: INET/inet_error: read errno = 10054). The server doesn't crash. It works ok in 2.0.1.