mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Get the JS SQLTester command handlers in place sans those which have to run SQL.
FossilOrigin-Name: d21b1217964a53f33b7ba3958b34aa8560dff8ede33e66f54aa0afbab7099ec3
This commit is contained in:
@ -336,7 +336,9 @@ public class SQLTester {
|
||||
}
|
||||
|
||||
sqlite3 setCurrentDb(int n) throws Exception{
|
||||
return affirmDbId(n).aDb[n];
|
||||
affirmDbId(n);
|
||||
iCurrentDb = n;
|
||||
return this.aDb[n];
|
||||
}
|
||||
|
||||
sqlite3 getCurrentDb(){ return aDb[iCurrentDb]; }
|
||||
@ -399,7 +401,7 @@ public class SQLTester {
|
||||
nullView = "nil";
|
||||
emitColNames = false;
|
||||
iCurrentDb = 0;
|
||||
dbInitSql.append("SELECT 1;");
|
||||
//dbInitSql.append("SELECT 1;");
|
||||
}
|
||||
|
||||
void setNullValue(String v){nullView = v;}
|
||||
|
Reference in New Issue
Block a user