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

Store the text encoding in the database (as meta value 4). (CVS 1435)

FossilOrigin-Name: 7f00ca5801889724c0e768961aa15f5ce0b8e7b5
This commit is contained in:
danielk1977
2004-05-22 08:09:11 +00:00
parent 18f4189055
commit 172bc3938a
4 changed files with 23 additions and 11 deletions

View File

@@ -23,7 +23,7 @@
** ROLLBACK
** PRAGMA
**
** $Id: build.c,v 1.192 2004/05/21 13:39:50 drh Exp $
** $Id: build.c,v 1.193 2004/05/22 08:09:11 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -543,6 +543,8 @@ void sqlite3StartTable(
if( !isTemp ){
sqlite3VdbeAddOp(v, OP_Integer, db->file_format, 0);
sqlite3VdbeAddOp(v, OP_SetCookie, 0, 1);
sqlite3VdbeAddOp(v, OP_Integer, db->enc, 0);
sqlite3VdbeAddOp(v, OP_SetCookie, 0, 4);
}
sqlite3OpenMasterTable(v, isTemp);
sqlite3VdbeAddOp(v, OP_NewRecno, 0, 0);