summaryrefslogtreecommitdiff
path: root/sql/sql_repl.h
diff options
context:
space:
mode:
authorunknown <gluh@mysql.com/gluh.(none)>2006-09-07 18:09:49 +0500
committerunknown <gluh@mysql.com/gluh.(none)>2006-09-07 18:09:49 +0500
commitdc6243e588b329ef281e28a4f4e33470bb36dd02 (patch)
tree7f2fae109d8c091edf98953bd18b6815977861a8 /sql/sql_repl.h
parent146049d2e491e2c6253aa7352bb2dfb1180f4489 (diff)
downloadmariadb-git-dc6243e588b329ef281e28a4f4e33470bb36dd02.tar.gz
after merge fix
include/mysql_com.h: USERNAME_LENGTH is changed to USERNAME_BYTE_LENGTH mysql-test/r/ctype_utf8.result: result fix mysql-test/t/ctype_utf8.test: test fix sql/sp.cc: NAME_LEN constant is changed to NAME_BYTE_LEN for database name buffer USERNAME_LENGTH constant is changed to USERNAME_BYTE_LENGTH for user name buffer sql/sp_head.cc: NAME_LEN constant is changed to NAME_BYTE_LEN for database name buffer USERNAME_LENGTH constant is changed to USERNAME_BYTE_LENGTH for user name buffer sql/sql_acl.cc: NAME_LEN constant is changed to NAME_BYTE_LEN for database name buffer USERNAME_LENGTH constant is changed to USERNAME_BYTE_LENGTH for user name buffer sql/sql_class.h: NAME_LEN constant is changed to NAME_BYTE_LEN for database name buffer sql/sql_parse.cc: NAME_LEN constant is changed to NAME_BYTE_LEN for database name buffer Function check_string_length() is fixed, now it check string lenght in symbols sql/sql_repl.h: NAME_LEN constant is changed to NAME_BYTE_LEN for database name buffer USERNAME_LENGTH constant is changed to USERNAME_BYTE_LENGTH for user name buffer
Diffstat (limited to 'sql/sql_repl.h')
-rw-r--r--sql/sql_repl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_repl.h b/sql/sql_repl.h
index 9eb6456ee20..6b1e5e6b447 100644
--- a/sql/sql_repl.h
+++ b/sql/sql_repl.h
@@ -22,7 +22,7 @@ typedef struct st_slave_info
uint32 server_id;
uint32 rpl_recovery_rank, master_id;
char host[HOSTNAME_LENGTH+1];
- char user[USERNAME_LENGTH+1];
+ char user[USERNAME_BYTE_LENGTH+1];
char password[MAX_PASSWORD_LENGTH+1];
uint16 port;
THD* thd;