1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Fix a union initializer so that it works with the Borland compiler. (CVS 3803)

FossilOrigin-Name: a067f78bf6a45d68ee1337115704cda2041919f4
This commit is contained in:
drh
2007-04-02 17:54:56 +00:00
parent 8d96eb0fac
commit c94d9c776c
3 changed files with 9 additions and 9 deletions

View File

@@ -443,7 +443,7 @@ static Mem *columnMem(sqlite3_stmt *pStmt, int i){
Vdbe *pVm = (Vdbe *)pStmt;
int vals = sqlite3_data_count(pStmt);
if( i>=vals || i<0 ){
static const Mem nullMem = {{0,}, 0.0, "", 0, MEM_Null, MEM_Null };
static const Mem nullMem = {{0}, 0.0, "", 0, MEM_Null, MEM_Null };
sqlite3Error(pVm->db, SQLITE_RANGE, 0);
return (Mem*)&nullMem;
}