1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-02 02:53:04 +03:00

Fixed problems with decimals withing IF()

Force add of FN_LIBCHAR to symlinks on windows
This commit is contained in:
monty@donna.mysql.fi
2001-05-29 13:46:17 +03:00
parent 86eda127f7
commit 3dc4b35a05
11 changed files with 46 additions and 39 deletions

View File

@@ -303,14 +303,12 @@ static void dump_remote_log_entries(const char* logname)
uint len;
NET* net = &mysql->net;
if(!position) position = 4; // protect the innocent from spam
if(position < 4)
{
position = 4;
// warn the guity
fprintf(stderr,
"Warning: with the position so small you would hit the magic number\n\
Unfortunately, no sweepstakes today, adjusted position to 4\n");
}
if (position < 4)
{
position = 4;
// warn the guity
sql_print_error("Warning: The position in the binary log can't be less than 4.\nStarting from position 4\n");
}
int4store(buf, position);
int2store(buf + 4, binlog_flags);
len = (uint) strlen(logname);