1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

More small changes to get test cases to execute. (CVS 1355)

FossilOrigin-Name: 6dc6004684a97fbdba2f2dce94086dc2c4967a42
This commit is contained in:
danielk1977
2004-05-11 08:48:10 +00:00
parent 3d68f03a96
commit 9400f26176
5 changed files with 27 additions and 26 deletions

View File

@@ -14,7 +14,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
** $Id: main.c,v 1.170 2004/05/11 07:11:53 danielk1977 Exp $
** $Id: main.c,v 1.171 2004/05/11 08:48:11 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -268,7 +268,7 @@ static int sqlite3InitOne(sqlite *db, int iDb, char **pzErrMsg){
if( rc==SQLITE_OK ){
int i;
for(i=0; rc==SQLITE_OK && i<SQLITE_N_BTREE_META; i++){
rc = sqlite3BtreeGetMeta(db->aDb[iDb].pBt, i+1, &meta[i]);
rc = sqlite3BtreeGetMeta(db->aDb[iDb].pBt, i, &meta[i]);
}
if( rc ){
sqlite3SetString(pzErrMsg, sqlite3_error_string(rc), (char*)0);