mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Make sure pointers are always aligned to 8-bytes when creating internal
Index structures. (CVS 3079) FossilOrigin-Name: d20a33ac2a29a3410fa28078dd122d87d8fca4fe
This commit is contained in:
@@ -145,6 +145,7 @@ int sqlite3_get_table(
|
||||
res.azResult[0] = 0;
|
||||
rc = sqlite3_exec(db, zSql, sqlite3_get_table_cb, &res, pzErrMsg);
|
||||
if( res.azResult ){
|
||||
assert( sizeof(res.azResult[0])>= sizeof(res.nData) );
|
||||
res.azResult[0] = (char*)res.nData;
|
||||
}
|
||||
if( rc==SQLITE_ABORT ){
|
||||
|
Reference in New Issue
Block a user