Fixed buffer reallocation in dbi.mysql leaving stale pointers behind and crashing (bug 3352).
This commit is contained in:
parent
918bec36d9
commit
c0c9fc3267
@ -297,6 +297,7 @@ bool MyBoundResults::RefetchField(MYSQL_STMT *stmt,
|
||||
ResizeBuffer(rbind, initSize);
|
||||
|
||||
/* Update the bind with the buffer size */
|
||||
m_bind[id].buffer = rbind->blob;
|
||||
m_bind[id].buffer_length = (unsigned long)rbind->length;
|
||||
m_bUpdatedBinds = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user