mirror of
https://github.com/MariaDB/server.git
synced 2026-04-27 02:35:29 +02: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:
parent
41dd2aa2b5
commit
9ad7aedb41
11 changed files with 46 additions and 39 deletions
|
|
@ -28,7 +28,7 @@
|
|||
#include <my_pthread.h> /* because of signal() */
|
||||
#endif
|
||||
|
||||
#define ADMIN_VERSION "8.20"
|
||||
#define ADMIN_VERSION "8.21"
|
||||
#define MAX_MYSQL_VAR 64
|
||||
#define SHUTDOWN_DEF_TIMEOUT 3600 /* Wait for shutdown */
|
||||
#define MAX_TRUNC_LENGTH 3
|
||||
|
|
@ -870,7 +870,7 @@ static int drop_db(MYSQL *mysql, const char *db)
|
|||
return -1;
|
||||
}
|
||||
}
|
||||
sprintf(name_buff,"drop database %.*s",FN_REFLEN,db);
|
||||
sprintf(name_buff,"drop database `%.*s`",FN_REFLEN,db);
|
||||
if (mysql_query(mysql,name_buff))
|
||||
{
|
||||
my_printf_error(0,"DROP DATABASE %s failed;\nerror: '%s'",MYF(ME_BELL),
|
||||
|
|
|
|||
|
|
@ -338,7 +338,7 @@ static int get_options(int *argc, char ***argv)
|
|||
{
|
||||
int pnlen = strlen(my_progname);
|
||||
|
||||
if (pnlen < 6) // name too short
|
||||
if (pnlen < 6) /* name too short */
|
||||
what_to_do = DO_CHECK;
|
||||
else if (!strcmp("repair", my_progname + pnlen - 6))
|
||||
what_to_do = DO_REPAIR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue