summaryrefslogtreecommitdiff
path: root/sql/slave.cc
diff options
context:
space:
mode:
authorRohit Kalhans <rohit.kalhans@oracle.com>2012-05-18 14:44:40 +0530
committerRohit Kalhans <rohit.kalhans@oracle.com>2012-05-18 14:44:40 +0530
commitc64b88d65a48d6c6651787f46f2094b310ceb5f1 (patch)
treeadbbd661383115ed2e7034eb90ec2f6fc625c4c9 /sql/slave.cc
parent047fea0682414c7bc6d8b7db60ce173c8162dd39 (diff)
downloadmariadb-git-c64b88d65a48d6c6651787f46f2094b310ceb5f1.tar.gz
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.
Diffstat (limited to 'sql/slave.cc')
0 files changed, 0 insertions, 0 deletions