summaryrefslogtreecommitdiff
path: root/sql/protocol.h
diff options
context:
space:
mode:
authorunknown <kostja@oak.local>2003-07-18 18:25:54 +0400
committerunknown <kostja@oak.local>2003-07-18 18:25:54 +0400
commita4b15d5311b763d381389f4c448d8f11663e5b57 (patch)
treeff6daa4950597380db94c038c04c9a8067bbfd68 /sql/protocol.h
parentc8c99b5263aaa0a52bd00f6bb54c652ba8fbae6e (diff)
downloadmariadb-git-a4b15d5311b763d381389f4c448d8f11663e5b57.tar.gz
Style fixes, comments for 4.1.1 authorization
Now special 1-byte packet is used for request of old password Fixed bug with --skip-grant-tables and acl_getroot include/mysql.h: removed scramble_323 member as now scramble_323 function does not count on trailing zero for scramble include/mysql_com.h: updated declarations libmysql/libmysql.c: now server sends special 1-byte packet instead of old scramble to re-request password. mysql->scramble_323 replaced with mysql->scramble sql-common/client.c: now server sends special 1-byte packet instead of old scramble to re-request password. mysql->scramble_323 replaces with mysql->scramble sql/password.c: comments beautified hash_password now accepts password length sql/protocol.cc: added send_old_password_request function sql/protocol.h: added send_old_password_request function sql/sql_acl.cc: style fixes, bug with --skip-grant-tables and acl_getroot fixed sql/sql_class.h: thd->scramble_323 removed as now old functions accept not null-terminated scrambles sql/sql_crypt.cc: fixed with new hash_password proto sql/sql_parse.cc: style fixes few comments added
Diffstat (limited to 'sql/protocol.h')
-rw-r--r--sql/protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/protocol.h b/sql/protocol.h
index ffd61b3e848..405d3d4aebe 100644
--- a/sql/protocol.h
+++ b/sql/protocol.h
@@ -164,6 +164,7 @@ void net_printf(THD *thd,uint sql_errno, ...);
void send_ok(THD *thd, ha_rows affected_rows=0L, ulonglong id=0L,
const char *info=0);
void send_eof(THD *thd, bool no_flush=0);
+bool send_old_password_request(THD *thd);
char *net_store_length(char *packet,ulonglong length);
char *net_store_length(char *packet,uint length);
char *net_store_data(char *to,const char *from, uint length);