1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Two significant typo fixes for [1a30919bfbb686].

FossilOrigin-Name: 6a6ee6dd54ec1a1dc7fb7d2f331951525d394a8362aef911f62878ac3961898f
This commit is contained in:
stephan
2023-08-26 17:36:15 +00:00
parent 3cb610c010
commit 2a6835fe0c
4 changed files with 11 additions and 11 deletions

View File

@ -2814,7 +2814,7 @@ S3JniApi(sqlite3_db_filename(),jstring,1db_1filename)(
S3JniApi(sqlite3_db_handle(),jobject,1db_1handle)(
JniArgsEnvClass, jobject jpStmt
){
sqlite3_stmt * const pStmt = PtrGet_sqlite3_context(jpStmt);
sqlite3_stmt * const pStmt = PtrGet_sqlite3_stmt(jpStmt);
sqlite3 * const pDb = pStmt ? sqlite3_db_handle(pStmt) : 0;
S3JniDb * const ps = pDb ? S3JniDb_from_c(pDb) : 0;
return ps ? ps->jDb : 0;

View File

@ -926,8 +926,8 @@ public class Tester1 implements Runnable {
@ManualTest /* because threads inherently break this test */
private void testBusy(){
final String dbName = "_busy-handler.db";
final OutputPointer.sqlite3 outDb = OutputPointer.sqlite3();
final OutputPointer.sqlite3_stmt outStmt = OutputPointer.sqlite3_stmt();
final OutputPointer.sqlite3 outDb = new OutputPointer.sqlite3();
final OutputPointer.sqlite3_stmt outStmt = new OutputPointer.sqlite3_stmt();
int rc = sqlite3_open(dbName, outDb);
++metrics.dbOpen;