AnantLabs / xerial

Automatically exported from code.google.com/p/xerial
0 stars 0 forks source link

CREATE TABLE statement should return null if no ResultSet can be retrieved #89

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Executed an "CREATE
TABLE ..." statement, and then on the same statement object check if
the statement has resultsets with getResultSet.  

What is the expected output? What do you see instead?

Reading from the JDK API  the call should return null if the statement hasn't
any ResultSet obect instead, from org.sqlite.Stmt.getResultSet line
166 i get a SQLException with "no ResultSet available".

Please use labels and text to provide additional information.

Original issue reported on code.google.com by taroleo on 28 Dec 2010 at 8:41