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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user