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

JNI: add a missing result code check to sqlite3_bind_value(stmt, null).

FossilOrigin-Name: f1a357f42de58927c33e7047dc4417e3b9549d7529625f30c583e66b7d603b00
This commit is contained in:
stephan
2023-10-14 16:57:48 +00:00
parent a9000d424e
commit 4213cc78cd
3 changed files with 8 additions and 8 deletions

View File

@ -2455,7 +2455,7 @@ S3JniApi(sqlite3_bind_value(),jint,1bind_1value)(
if( v ){
rc = sqlite3_bind_value(pStmt, (int)ndx, v);
}else{
sqlite3_bind_null(pStmt, (int)ndx);
rc = sqlite3_bind_null(pStmt, (int)ndx);
}
}else{
rc = SQLITE_MISUSE;