mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
In test programs, an SQLITE_SCHEMA return is retried repeatedly, not just once. (CVS 1195)
FossilOrigin-Name: df3509e13dc05751b7a5af07b57bca449fe5244c
This commit is contained in:
@ -144,7 +144,7 @@ void db_execute(sqlite *db, const char *zFile, const char *zFormat, ...){
|
||||
va_end(ap);
|
||||
if( verbose ) printf("EXEC %s: %s\n", zFile, zSql);
|
||||
rc = sqlite_exec(db, zSql, 0, 0, &zErrMsg);
|
||||
if( rc==SQLITE_SCHEMA ){
|
||||
while( rc==SQLITE_SCHEMA ){
|
||||
if( zErrMsg ) free(zErrMsg);
|
||||
rc = sqlite_exec(db, zSql, 0, 0, &zErrMsg);
|
||||
}
|
||||
|
Reference in New Issue
Block a user