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:
@ -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;
|
||||
|
Reference in New Issue
Block a user