Description
For example we already have some results in table and further execution:
1. stmt.execute("START TRANSACTION; INSERT INTO TEST_TX VALUES (1, 1, '1'); COMMIT"); <- pk violation 2. stmt.execute("SELECT COUNT(*) FROM TEST_TX");
need to lead exception raised on 1 execution but due to closing all unfetched cursors happens only in 2 execution call, exception will raised there but expected exception need to be raised from 1.