mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix reference to not initialized memory
Changed handing of priv_host to fix bug in FLUSH PRIVILEGES libmysqld/lib_sql.cc: Changed handing of priv_host to fix bug in FLUSH PRIVILEGES myisam/mi_rkey.c: Fix reference to not initialized memory sql/sql_acl.cc: Changed handing of priv_host to fix bug in FLUSH PRIVILEGES sql/sql_acl.h: Changed handing of priv_host to fix bug in FLUSH PRIVILEGES sql/sql_class.h: Changed handing of priv_host to fix bug in FLUSH PRIVILEGES sql/sql_parse.cc: Changed handing of priv_host to fix bug in FLUSH PRIVILEGES sql/unireg.h: Changed handing of priv_host to fix bug in FLUSH PRIVILEGES
This commit is contained in:
@ -55,6 +55,7 @@
|
||||
#else
|
||||
#define MAX_REFLENGTH 4 /* Max length for record ref */
|
||||
#endif
|
||||
#define MAX_HOSTNAME 61 /* len+1 in mysql.user */
|
||||
|
||||
#define MAX_FIELD_WIDTH 256 /* Max column width +1 */
|
||||
#define MAX_TABLES (sizeof(table_map)*8-1) /* Max tables in join */
|
||||
|
Reference in New Issue
Block a user