1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-18 10:21:03 +03:00

Enhancements to the way errors are reported up when an automatic

statement reprepare fails.

FossilOrigin-Name: 1a6d4bb130382564093b6370818ae4a7633f4074
This commit is contained in:
drh
2010-02-24 17:15:19 +00:00
parent 5a29d9cbc5
commit a6129fa79a
4 changed files with 22 additions and 19 deletions

View File

@@ -728,7 +728,7 @@ int sqlite3Reprepare(Vdbe *p){
db->mallocFailed = 1;
}
assert( pNew==0 );
return (rc==SQLITE_LOCKED) ? SQLITE_LOCKED : SQLITE_SCHEMA;
return rc;
}else{
assert( pNew!=0 );
}