vishnuvathsan / sqljet

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

CHECK BETWEEN crashes sqljet #184

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
sqlite table:

CREATE TABLE Bug2 ( Xff REAL CHECK(Xff BETWEEN 0.0 AND 1.0) );


Error is:

Exception in thread "main" java.lang.NullPointerException at org.tmatesoft.sqljet.core.internal.schema.SqlJetExpression.create(SqlJetExpression.java:31) at org.tmatesoft.sqljet.core.internal.schema.SqlJetBetweenExpression.(SqlJetBetweenExpression.java:41) at org.tmatesoft.sqljet.core.internal.schema.SqlJetExpression.create(SqlJetExpression.java:63) at org.tmatesoft.sqljet.core.internal.schema.SqlJetColumnCheck.(SqlJetColumnCheck.java:32) at org.tmatesoft.sqljet.core.internal.schema.SqlJetColumnDef.(SqlJetColumnDef.java:60) at org.tmatesoft.sqljet.core.internal.schema.SqlJetTableDef.(SqlJetTableDef.java:100) at org.tmatesoft.sqljet.core.internal.schema.SqlJetSchema.readShema(SqlJetSchema.java:317) at org.tmatesoft.sqljet.core.internal.schema.SqlJetSchema.init(SqlJetSchema.java:168) at org.tmatesoft.sqljet.core.internal.schema.SqlJetSchema.(SqlJetSchema.java:154) at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine$2.runSynchronized(SqlJetEngine.java:282) at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runSynchronized(SqlJetEngine.java:217) at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.readSchema(SqlJetEngine.java:276) at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.refreshSchema(SqlJetEngine.java:310) at org.tmatesoft.sqljet.core.table.SqlJetDb.getTable(SqlJetDb.java:194)

Original issue reported on code.google.com by stepanc...@mx1.ru on 29 Apr 2014 at 7:11

GoogleCodeExporter commented 8 years ago
sqljet is 1.1.10

Original comment by stepanc...@mx1.ru on 29 Apr 2014 at 7:11