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

Fix a bug introduced by checkin (4739). (CVS 4741)

FossilOrigin-Name: c8394ac24b87707fa7f2e3cb43ad8efb65d2595e
This commit is contained in:
drh
2008-01-22 19:34:27 +00:00
parent 101716d398
commit 02cd2b80c1
3 changed files with 9 additions and 9 deletions

View File

@@ -13,7 +13,7 @@
** interface, and routines that contribute to loading the database schema
** from disk.
**
** $Id: prepare.c,v 1.73 2008/01/22 16:35:37 drh Exp $
** $Id: prepare.c,v 1.74 2008/01/22 19:34:28 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -86,7 +86,7 @@ int sqlite3InitCallback(void *pInit, int argc, char **argv, char **azColName){
sqlite3_free(zErr);
return 1;
}
}else if( argv[2]==0 ){
}else if( argv[0]==0 ){
corruptSchema(pData, 0);
}else{
/* If the SQL column is blank it means this is an index that