Ticket Hash: | 406d3b2ef91cfb75fc153e9b5fc970869baf2b0d | |||
Title: | SQL function auxdata associated with parameters is not cleared | |||
Status: | Fixed | Type: | Code_Defect | |
Severity: | Important | Priority: | Immediate | |
Subsystem: | Unknown | Resolution: | Fixed | |
Last Modified: | 2013-07-18 18:45:58 | |||
Version Found In: | 3.7.17 | |||
User Comments: | ||||
drh added on 2013-07-18 14:15:00:
The auxiliary information associated with specific function parameters and registered by the sqlite3_set_auxdata() routine is not cleared when the function argument is a bound parameter which is modified by one of the sqlite3_bind_xxxx() interfaces. On the other hand, the auxdata is cleared immediately, even before the sqlite3_set_auxdata() routine returns, if a memory allocation error occurs. This latter behavior probably cannot be changed, but it at least needs to be documented. |