-
Committer:
Rohit Kalhans
-
Date:
2012-05-18 09:14:40 UTC
-
mto:
(2502.1194.1 mysql-5.1.64-release)
-
mto:
This revision was merged to the branch mainline in
revision
3152.
-
Revision ID:
rohit.kalhans@oracle.com-20120518091440-dkrho6zlxuqh60u1
BUG#14005409 - 64624
Problem: After the fix for Bug#12589870, a new field that
stores the length of db name was added in the buffer that
stores the query to be executed. Unlike for the plain user
session, the replication execution did not allocate the
necessary chunk in Query-event constructor. This caused an
invalid read while accessing this field.
Solution: We fix this problem by allocating a necessary chunk
in the buffer created in the Query_log_event::Query_log_event()
and store the length of database name.