diff options
author | unknown <peter@mysql.com> | 2002-11-30 20:58:53 +0300 |
---|---|---|
committer | unknown <peter@mysql.com> | 2002-11-30 20:58:53 +0300 |
commit | c09c434877547abb9243c36ddc267f59ca75a107 (patch) | |
tree | d6fd910fa1f2f46f32ad57ff34b8c30051905e04 /include | |
parent | 05ba93c2793a1ae79f560a0fc153056f3d39ce43 (diff) | |
download | mariadb-git-c09c434877547abb9243c36ddc267f59ca75a107.tar.gz |
SCRUM: Montymise code
fix mysql_change_user() for old clients
include/mysql_com.h:
Mover global defines here
libmysql/libmysql.c:
Remove end spaces from all lines
scripts/mysql_fix_privilege_tables.sh:
Move password modification to separate alter table
sql/mini_client.cc:
Defines, fold long lines
sql/mysqld.cc:
Backup old scramble for mysql_change_user to work from old clients
sql/password.c:
Several minor optimizations
sql/sql_acl.cc:
Remove ending spaces
sql/sql_class.h:
Add old scramble for mysql_change_user to work with old clients
sql/sql_parse.cc:
Remove end spaces.
Diffstat (limited to 'include')
-rw-r--r-- | include/mysql_com.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h index 09e1db5aeb6..f901ad5ff80 100644 --- a/include/mysql_com.h +++ b/include/mysql_com.h @@ -29,6 +29,7 @@ #define LOCAL_HOST "localhost" #define LOCAL_HOST_NAMEDPIPE "." + #if defined(__WIN__) && !defined( _CUSTOMCONFIG_) #define MYSQL_NAMEDPIPE "MySQL" #define MYSQL_SERVICENAME "MySql" @@ -44,6 +45,11 @@ enum enum_server_command COM_PREPARE, COM_EXECUTE, COM_LONG_DATA, COM_CLOSE_STMT }; + +#define SCRAMBLE_LENGTH 8 +#define SCRAMBLE41_LENGTH 20 + + #define NOT_NULL_FLAG 1 /* Field can't be NULL */ #define PRI_KEY_FLAG 2 /* Field is part of a primary key */ #define UNIQUE_KEY_FLAG 4 /* Field is part of a unique key */ |