mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
This commit is contained in:
@ -1006,7 +1006,7 @@ update_binlog:
|
||||
These DDL methods and logging are protected with the exclusive
|
||||
metadata lock on the schema.
|
||||
*/
|
||||
if (write_to_binlog(thd, query, query_pos -1 - query, db, db_len))
|
||||
if (write_to_binlog(thd, query, (uint)(query_pos -1 - query), db, db_len))
|
||||
{
|
||||
error= true;
|
||||
goto exit;
|
||||
@ -1024,7 +1024,7 @@ update_binlog:
|
||||
These DDL methods and logging are protected with the exclusive
|
||||
metadata lock on the schema.
|
||||
*/
|
||||
if (write_to_binlog(thd, query, query_pos -1 - query, db, db_len))
|
||||
if (write_to_binlog(thd, query, (uint)(query_pos -1 - query), db, db_len))
|
||||
{
|
||||
error= true;
|
||||
goto exit;
|
||||
|
Reference in New Issue
Block a user