diff options
author | monty@hundin.mysql.fi <> | 2001-08-10 17:37:37 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-08-10 17:37:37 +0300 |
commit | e7575da7bba22e74983374a5a5cca71b182bd23c (patch) | |
tree | 2d9d1fce1c8c7170391a58f2fa2731f5c6a02605 /include | |
parent | 410faef67eab72a77ad3a69b5fa4770c3150fc65 (diff) | |
download | mariadb-git-e7575da7bba22e74983374a5a5cca71b182bd23c.tar.gz |
Portability fixes
Added record_rnd_buffer
Added --safe-user-create
Fix for ALTER TABLE RENAME on windows
Diffstat (limited to 'include')
-rw-r--r-- | include/mysql_com.h | 8 | ||||
-rw-r--r-- | include/mysqld_error.h | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h index 5b22d58150d..82eb34060a9 100644 --- a/include/mysql_com.h +++ b/include/mysql_com.h @@ -218,17 +218,19 @@ my_bool check_scramble(const char *, const char *message, unsigned long *salt,my_bool old_ver); char *get_tty_password(char *opt_message); void hash_password(unsigned long *result, const char *password); -#ifdef __cplusplus -} -#endif /* Some other useful functions */ void my_init(void); void load_defaults(const char *conf_file, const char **groups, int *argc, char ***argv); +my_bool my_thread_init(void); void my_thread_end(void); +#ifdef __cplusplus +} +#endif + #define NULL_LENGTH ((unsigned long) ~0) /* For net_store_length */ #ifdef __WIN__ diff --git a/include/mysqld_error.h b/include/mysqld_error.h index 32967931eac..758c74fc122 100644 --- a/include/mysqld_error.h +++ b/include/mysqld_error.h @@ -211,4 +211,5 @@ #define ER_DROP_DB_WITH_READ_LOCK 1208 #define ER_CREATE_DB_WITH_READ_LOCK 1209 #define ER_WRONG_ARGUMENTS 1210 -#define ER_ERROR_MESSAGES 211 +#define ER_NO_PERMISSON_TO_CREATE_USER 1211 +#define ER_ERROR_MESSAGES 212 |