mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fixed problems with decimals withing IF()
Force add of FN_LIBCHAR to symlinks on windows Docs/manual.texi: Cleanup & Changelog client/mysqladmin.c: Added quoting for 'drop database' client/mysqlcheck.c: Fixed wrong comment syntax libmysql/net.c: Cleanup mysql-test/mysql-test-run.sh: Better error message. mysql-test/r/func_test.result: test for if() mysql-test/t/func_test.test: test for if() mysys/mf_pack.c: Force add of FN_LIBCHAR to symlinks on windows. sql/item_cmpfunc.cc: Fixed problems with decimals withing IF() sql/mysqlbinlog.cc: Better error messages. sql/sql_repl.cc: Better error messages.
This commit is contained in:
@@ -297,10 +297,9 @@ void mysql_binlog_send(THD* thd, char* log_ident, ulong pos, ushort flags)
|
||||
if ((file=open_binlog(&log, log_file_name, &errmsg)) < 0)
|
||||
goto err;
|
||||
|
||||
if(pos < 4)
|
||||
if (pos < 4)
|
||||
{
|
||||
errmsg = "Congratulations! You have hit the magic number and can win \
|
||||
sweepstakes if you report the bug";
|
||||
errmsg = "Client requested master to start repliction from impossible position.\n";
|
||||
goto err;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user