Fixed buffer reallocation in dbi.mysql leaving stale pointers behind and crashing (bug 3352).

This commit is contained in:
David Anderson 2008-10-19 22:57:28 -07:00
parent 918bec36d9
commit c0c9fc3267

View File

@ -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;