mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
Make sure all new statements begin life unexpired, even if they registered
functions or did other actions during preparation that would have expired all statements. Fix for ticket [25ee81271091] FossilOrigin-Name: faa38c8724d3eebad97197bfa44d11e75cfe6c69
This commit is contained in:
@@ -1505,6 +1505,7 @@ void sqlite3VdbeMakeReady(
|
||||
memset(zCsr, 0, zEnd-zCsr);
|
||||
zCsr += (zCsr - (u8*)0)&7;
|
||||
assert( EIGHT_BYTE_ALIGNMENT(zCsr) );
|
||||
p->expired = 0;
|
||||
|
||||
/* Memory for registers, parameters, cursor, etc, is allocated in two
|
||||
** passes. On the first pass, we try to reuse unused space at the
|
||||
|
||||
Reference in New Issue
Block a user