1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Merge mysql.com:/home/bk/MERGE/mysql-4.1-merge

into  mysql.com:/home/bk/MERGE/mysql-5.0-merge
This commit is contained in:
lars@mysql.com/black.(none)
2006-11-13 17:54:01 +01:00
8 changed files with 109 additions and 8 deletions

View File

@ -430,6 +430,12 @@ impossible position";
goto err;
}
packet->set("\0", 1, &my_charset_bin);
/*
Adding MAX_LOG_EVENT_HEADER_LEN, since a binlog event can become
this larger than the corresponding packet (query) sent
from client to master.
*/
thd->variables.max_allowed_packet+= MAX_LOG_EVENT_HEADER;
/*
We can set log_lock now, it does not move (it's a member of