Details
- 
    Bug 
- 
    Status: Closed (View Workflow)
- 
    Major 
- 
    Resolution: Fixed
- 
    2.0.2, 2.1.2
- 
    None
- 
    Ubuntu 17.04
 MariaDB Server 10.2.8
Description
After a query containing multiple CREATE TABLE statements Statement.getMoreResults() returns true
for second result (indicating the result is a result set) and Statement.getResultSet() then returns null.  The getMoreResults() should be false and a getUpdateCount() should then return 0 (indicating an update count of 0 is the result).
The attached program demonstrates the bug. Correct output should show two update counts of zero. Actual output shows an update count of zero followed by a result set which is null.
Attached program works correctly with mysql-connector-java-5.1.42.
The problem also occurs for DROP TABLE statements.
Attachments
Issue Links
- relates to
- 
                    CONJ-179 Statement.getMoreResults() returns wrong value -         
- Closed
 
-