diff options
author | unknown <monty@narttu.mysql.fi> | 2003-04-30 10:15:09 +0300 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2003-04-30 10:15:09 +0300 |
commit | 6db41f7793d81c08f042e0b1ff23e5d387b2976f (patch) | |
tree | 4f7f621a2857e70f280e3136c841ee9f70161eff /sql/unireg.h | |
parent | b725fc0b33a29775678671b613640109a4fe8f56 (diff) | |
download | mariadb-git-6db41f7793d81c08f042e0b1ff23e5d387b2976f.tar.gz |
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
Diffstat (limited to 'sql/unireg.h')
-rw-r--r-- | sql/unireg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/unireg.h b/sql/unireg.h index 7e98d0d3cbe..f69d67455dd 100644 --- a/sql/unireg.h +++ b/sql/unireg.h @@ -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 */ |