summaryrefslogtreecommitdiff
path: root/sql/sql_repl.cc
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.fi>2001-05-29 13:46:17 +0300
committerunknown <monty@donna.mysql.fi>2001-05-29 13:46:17 +0300
commit14122286588e2fcf05d4142c5dd6ff05a59bd83b (patch)
tree7f42d1149eac3fb84c4cbb7810d966b33a86fb72 /sql/sql_repl.cc
parentcef9025b707f60c9b4bd703866b2896166004799 (diff)
downloadmariadb-git-14122286588e2fcf05d4142c5dd6ff05a59bd83b.tar.gz
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.
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r--sql/sql_repl.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc
index e5039d118be..3af757993b5 100644
--- a/sql/sql_repl.cc
+++ b/sql/sql_repl.cc
@@ -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;
}