mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge sanja.is.com.ua:/home/bell/mysql/bk/work-top3-4.1
into sanja.is.com.ua:/home/bell/mysql/bk/work-simple_in-4.1
This commit is contained in:
@ -622,3 +622,7 @@ vio/test-ssl
|
|||||||
vio/test-sslclient
|
vio/test-sslclient
|
||||||
vio/test-sslserver
|
vio/test-sslserver
|
||||||
vio/viotest-ssl
|
vio/viotest-ssl
|
||||||
|
libmysqld/client.c
|
||||||
|
libmysqld/client_settings.h
|
||||||
|
libmysqld/libmysql.c
|
||||||
|
libmysqld/pack.c
|
||||||
|
@ -20,10 +20,12 @@ bk@admin.bk
|
|||||||
bk@mysql.r18.ru
|
bk@mysql.r18.ru
|
||||||
carsten@tsort.bitbybit.dk
|
carsten@tsort.bitbybit.dk
|
||||||
davida@isil.mysql.com
|
davida@isil.mysql.com
|
||||||
|
dlenev@mysql.com
|
||||||
gluh@gluh.(none)
|
gluh@gluh.(none)
|
||||||
gluh@gluh.mysql.r18.ru
|
gluh@gluh.mysql.r18.ru
|
||||||
greg@mysql.com
|
greg@mysql.com
|
||||||
guilhem@mysql.com
|
guilhem@mysql.com
|
||||||
|
gweir@build.mysql.com
|
||||||
gweir@work.mysql.com
|
gweir@work.mysql.com
|
||||||
heikki@donna.mysql.fi
|
heikki@donna.mysql.fi
|
||||||
heikki@hundin.mysql.fi
|
heikki@hundin.mysql.fi
|
||||||
|
62
Docs/README.1st
Executable file
62
Docs/README.1st
Executable file
@ -0,0 +1,62 @@
|
|||||||
|
This ALPHA build of MySQL 4.1 for the Windows platform does not come with
|
||||||
|
an installer. A full-featured installer is being developed for
|
||||||
|
the 4.1 series, and it is scheduled to be released with MySQL 4.1 BETA.
|
||||||
|
|
||||||
|
** FRESH INSTALL **
|
||||||
|
|
||||||
|
To install MySQL 4.1 as a 'fresh' install, unzip this archive to a directory
|
||||||
|
of your choice (we suggest 'c:\', which will cause MySQL to be installed in
|
||||||
|
a directory named 'mysql' in 'c:\'). You should then follow the directions
|
||||||
|
in the user manual for starting/stopping MySQL:
|
||||||
|
|
||||||
|
(Windows 9x/ME) http://www.mysql.com/doc/en/Win95_start.html
|
||||||
|
(Windows NT/2000/XP) http://www.mysql.com/doc/en/NT_start.html
|
||||||
|
|
||||||
|
** UPGRADE INSTALL **
|
||||||
|
|
||||||
|
To install MySQL 4.1 as an upgrade to your current MySQL version, you need
|
||||||
|
to perform the following steps:
|
||||||
|
|
||||||
|
* Backup your original install (always a good idea!)
|
||||||
|
* Unzip this archive to a separate directory from your currently
|
||||||
|
installed MySQL database (or don't unpack the 'Data' subdirectory
|
||||||
|
when unzipping this archive, otherwise your databases will be over-
|
||||||
|
written).
|
||||||
|
|
||||||
|
* Shutdown all mysql server processes/services
|
||||||
|
* Remove the Win32 Service (if appropriate for your OS):
|
||||||
|
|
||||||
|
c:\mysql\bin\mysqld-nt --remove
|
||||||
|
|
||||||
|
* Exit 'WinMySQLAdmin' (if it is running).
|
||||||
|
* If you unzipped this archive into a separate directory, copy all of the
|
||||||
|
directories and their contents from the location where you unzipped this
|
||||||
|
archive, excluding the 'data' directory, to the location
|
||||||
|
where your current MySQL server is installed.
|
||||||
|
* Start the MySQL server with the '--skip-grant-tables' option (assuming
|
||||||
|
your MySQL server is installed in 'c:\mysql'):
|
||||||
|
|
||||||
|
c:\mysql\bin\mysqld-opt --skip-grant-tables
|
||||||
|
|
||||||
|
* Execute the 'mysql_fix_privilege_tables.sql' script in the 'scripts
|
||||||
|
directory:
|
||||||
|
|
||||||
|
c:\mysql\bin\mysql < c:\mysql\scripts\mysql_fix_privilege_tables.sql
|
||||||
|
|
||||||
|
* Stop the server
|
||||||
|
|
||||||
|
c:\mysql\bin\mysqladmin -u root shutdown
|
||||||
|
|
||||||
|
* Re-install the Win32 service (if required):
|
||||||
|
|
||||||
|
c:\mysql\bin\mysqld-nt --install
|
||||||
|
|
||||||
|
* Re-start the server or service as normal.
|
||||||
|
|
||||||
|
** Further Questions **
|
||||||
|
|
||||||
|
You can find further information about running MySQL on Windows in the
|
||||||
|
manual that ships in the 'Doc' subdirectory, or at:
|
||||||
|
|
||||||
|
http://www.mysql.com/doc/en/Windows.html
|
||||||
|
|
@ -352,6 +352,11 @@ static void write_header(FILE *sql_file, char *db_name)
|
|||||||
mysql_get_server_info(&mysql_connection));
|
mysql_get_server_info(&mysql_connection));
|
||||||
if (!opt_set_names)
|
if (!opt_set_names)
|
||||||
fprintf(sql_file,"\n/*!40101 SET NAMES %s*/;\n",default_charset);
|
fprintf(sql_file,"\n/*!40101 SET NAMES %s*/;\n",default_charset);
|
||||||
|
fprintf(md_result_file,"\
|
||||||
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;\n\
|
||||||
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;\n\
|
||||||
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE=NO_AUTO_VALUE_ON_ZERO */;\n\
|
||||||
|
");
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
} /* write_header */
|
} /* write_header */
|
||||||
@ -361,6 +366,14 @@ static void write_footer(FILE *sql_file)
|
|||||||
{
|
{
|
||||||
if (opt_xml)
|
if (opt_xml)
|
||||||
fprintf(sql_file,"</mysqldump>");
|
fprintf(sql_file,"</mysqldump>");
|
||||||
|
else
|
||||||
|
{
|
||||||
|
fprintf(md_result_file,"\n
|
||||||
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;\n\
|
||||||
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;\n\
|
||||||
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;\n\
|
||||||
|
");
|
||||||
|
}
|
||||||
fputs("\n", sql_file);
|
fputs("\n", sql_file);
|
||||||
} /* write_footer */
|
} /* write_footer */
|
||||||
|
|
||||||
|
@ -328,7 +328,7 @@ static void get_replace_column(struct st_query *q);
|
|||||||
static void free_replace_column();
|
static void free_replace_column();
|
||||||
|
|
||||||
/* Disable functions that only exist in MySQL 4.0 */
|
/* Disable functions that only exist in MySQL 4.0 */
|
||||||
#if MYSQL_VERSION_ID < 40000 || defined(EMBEDDED_LIBRARY)
|
#if MYSQL_VERSION_ID < 40000
|
||||||
void mysql_enable_rpl_parse(MYSQL* mysql __attribute__((unused))) {}
|
void mysql_enable_rpl_parse(MYSQL* mysql __attribute__((unused))) {}
|
||||||
void mysql_disable_rpl_parse(MYSQL* mysql __attribute__((unused))) {}
|
void mysql_disable_rpl_parse(MYSQL* mysql __attribute__((unused))) {}
|
||||||
int mysql_rpl_parse_enabled(MYSQL* mysql __attribute__((unused))) { return 1; }
|
int mysql_rpl_parse_enabled(MYSQL* mysql __attribute__((unused))) { return 1; }
|
||||||
|
@ -627,7 +627,7 @@ extern my_string my_path(my_string to,const char *progname,
|
|||||||
const char *own_pathname_part);
|
const char *own_pathname_part);
|
||||||
extern my_string my_load_path(my_string to, const char *path,
|
extern my_string my_load_path(my_string to, const char *path,
|
||||||
const char *own_path_prefix);
|
const char *own_path_prefix);
|
||||||
extern int wild_compare(const char *str,const char *wildstr);
|
extern int wild_compare(const char *str,const char *wildstr,pbool str_is_pattern);
|
||||||
extern WF_PACK *wf_comp(my_string str);
|
extern WF_PACK *wf_comp(my_string str);
|
||||||
extern int wf_test(struct wild_file_pack *wf_pack,const char *name);
|
extern int wf_test(struct wild_file_pack *wf_pack,const char *name);
|
||||||
extern void wf_end(struct wild_file_pack *buffer);
|
extern void wf_end(struct wild_file_pack *buffer);
|
||||||
|
@ -129,11 +129,22 @@ typedef struct st_mysql_data {
|
|||||||
unsigned int fields;
|
unsigned int fields;
|
||||||
MYSQL_ROWS *data;
|
MYSQL_ROWS *data;
|
||||||
MEM_ROOT alloc;
|
MEM_ROOT alloc;
|
||||||
#ifdef EMBEDDED_LIBRARY
|
#if !defined(CHECK_EMBEDDED_DIFFERENCES) || defined(EMBEDDED_LIBRARY)
|
||||||
MYSQL_ROWS **prev_ptr;
|
MYSQL_ROWS **prev_ptr;
|
||||||
#endif
|
#endif
|
||||||
} MYSQL_DATA;
|
} MYSQL_DATA;
|
||||||
|
|
||||||
|
enum mysql_option
|
||||||
|
{
|
||||||
|
MYSQL_OPT_CONNECT_TIMEOUT, MYSQL_OPT_COMPRESS, MYSQL_OPT_NAMED_PIPE,
|
||||||
|
MYSQL_INIT_COMMAND, MYSQL_READ_DEFAULT_FILE, MYSQL_READ_DEFAULT_GROUP,
|
||||||
|
MYSQL_SET_CHARSET_DIR, MYSQL_SET_CHARSET_NAME, MYSQL_OPT_LOCAL_INFILE,
|
||||||
|
MYSQL_OPT_PROTOCOL, MYSQL_SHARED_MEMORY_BASE_NAME, MYSQL_OPT_READ_TIMEOUT,
|
||||||
|
MYSQL_OPT_WRITE_TIMEOUT, MYSQL_OPT_USE_RESULT,
|
||||||
|
MYSQL_OPT_USE_REMOTE_CONNECTION, MYSQL_OPT_USE_EMBEDDED_CONNECTION,
|
||||||
|
MYSQL_OPT_GUESS_CONNECTION
|
||||||
|
};
|
||||||
|
|
||||||
struct st_mysql_options {
|
struct st_mysql_options {
|
||||||
unsigned int connect_timeout, read_timeout, write_timeout;
|
unsigned int connect_timeout, read_timeout, write_timeout;
|
||||||
unsigned int port, protocol;
|
unsigned int port, protocol;
|
||||||
@ -165,18 +176,10 @@ struct st_mysql_options {
|
|||||||
a read that is replication-aware
|
a read that is replication-aware
|
||||||
*/
|
*/
|
||||||
my_bool no_master_reads;
|
my_bool no_master_reads;
|
||||||
#ifdef EMBEDDED_LIBRARY
|
#if !defined(CHECK_EMBEDDED_DIFFERENCES) || defined(EMBEDDED_LIBRARY)
|
||||||
my_bool separate_thread;
|
my_bool separate_thread;
|
||||||
#endif
|
#endif
|
||||||
};
|
enum mysql_option methods_to_use;
|
||||||
|
|
||||||
enum mysql_option
|
|
||||||
{
|
|
||||||
MYSQL_OPT_CONNECT_TIMEOUT, MYSQL_OPT_COMPRESS, MYSQL_OPT_NAMED_PIPE,
|
|
||||||
MYSQL_INIT_COMMAND, MYSQL_READ_DEFAULT_FILE, MYSQL_READ_DEFAULT_GROUP,
|
|
||||||
MYSQL_SET_CHARSET_DIR, MYSQL_SET_CHARSET_NAME, MYSQL_OPT_LOCAL_INFILE,
|
|
||||||
MYSQL_OPT_PROTOCOL, MYSQL_SHARED_MEMORY_BASE_NAME, MYSQL_OPT_READ_TIMEOUT,
|
|
||||||
MYSQL_OPT_WRITE_TIMEOUT, MYSQL_OPT_USE_RESULT
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enum mysql_status
|
enum mysql_status
|
||||||
@ -199,8 +202,7 @@ enum mysql_rpl_type
|
|||||||
MYSQL_RPL_MASTER, MYSQL_RPL_SLAVE, MYSQL_RPL_ADMIN
|
MYSQL_RPL_MASTER, MYSQL_RPL_SLAVE, MYSQL_RPL_ADMIN
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct st_mysql_methods;
|
||||||
#ifndef EMBEDDED_LIBRARY
|
|
||||||
|
|
||||||
typedef struct st_mysql
|
typedef struct st_mysql
|
||||||
{
|
{
|
||||||
@ -245,34 +247,11 @@ typedef struct st_mysql
|
|||||||
struct st_mysql* last_used_con;
|
struct st_mysql* last_used_con;
|
||||||
|
|
||||||
LIST *stmts; /* list of all statements */
|
LIST *stmts; /* list of all statements */
|
||||||
} MYSQL;
|
const struct st_mysql_methods *methods;
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
struct st_mysql_res;
|
|
||||||
|
|
||||||
typedef struct st_mysql
|
|
||||||
{
|
|
||||||
struct st_mysql_res *result;
|
struct st_mysql_res *result;
|
||||||
void *thd;
|
void *thd;
|
||||||
struct charset_info_st *charset;
|
|
||||||
unsigned int server_language;
|
|
||||||
MYSQL_FIELD *fields;
|
|
||||||
MEM_ROOT field_alloc;
|
|
||||||
my_ulonglong affected_rows;
|
|
||||||
unsigned int field_count;
|
|
||||||
struct st_mysql_options options;
|
|
||||||
enum mysql_status status;
|
|
||||||
my_bool free_me; /* If free in mysql_close */
|
|
||||||
my_ulonglong insert_id; /* id if insert on table with NEXTNR */
|
|
||||||
unsigned int last_errno;
|
|
||||||
unsigned int server_status;
|
|
||||||
char *last_error; /* Used by embedded server */
|
|
||||||
char sqlstate[SQLSTATE_LENGTH+1]; /* Used by embedded server */
|
|
||||||
} MYSQL;
|
} MYSQL;
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef struct st_mysql_res {
|
typedef struct st_mysql_res {
|
||||||
my_ulonglong row_count;
|
my_ulonglong row_count;
|
||||||
MYSQL_FIELD *fields;
|
MYSQL_FIELD *fields;
|
||||||
@ -285,6 +264,7 @@ typedef struct st_mysql_res {
|
|||||||
MYSQL_ROW row; /* If unbuffered read */
|
MYSQL_ROW row; /* If unbuffered read */
|
||||||
MYSQL_ROW current_row; /* buffer to current row */
|
MYSQL_ROW current_row; /* buffer to current row */
|
||||||
my_bool eof; /* Used by mysql_fetch_row */
|
my_bool eof; /* Used by mysql_fetch_row */
|
||||||
|
const struct st_mysql_methods *methods;
|
||||||
} MYSQL_RES;
|
} MYSQL_RES;
|
||||||
|
|
||||||
#define MAX_MYSQL_MANAGER_ERR 256
|
#define MAX_MYSQL_MANAGER_ERR 256
|
||||||
@ -371,12 +351,10 @@ MYSQL * STDCALL mysql_real_connect(MYSQL *mysql, const char *host,
|
|||||||
unsigned int port,
|
unsigned int port,
|
||||||
const char *unix_socket,
|
const char *unix_socket,
|
||||||
unsigned long clientflag);
|
unsigned long clientflag);
|
||||||
void STDCALL mysql_close(MYSQL *sock);
|
|
||||||
int STDCALL mysql_select_db(MYSQL *mysql, const char *db);
|
int STDCALL mysql_select_db(MYSQL *mysql, const char *db);
|
||||||
int STDCALL mysql_query(MYSQL *mysql, const char *q);
|
int STDCALL mysql_query(MYSQL *mysql, const char *q);
|
||||||
int STDCALL mysql_send_query(MYSQL *mysql, const char *q,
|
int STDCALL mysql_send_query(MYSQL *mysql, const char *q,
|
||||||
unsigned long length);
|
unsigned long length);
|
||||||
my_bool STDCALL mysql_read_query_result(MYSQL *mysql);
|
|
||||||
int STDCALL mysql_real_query(MYSQL *mysql, const char *q,
|
int STDCALL mysql_real_query(MYSQL *mysql, const char *q,
|
||||||
unsigned long length);
|
unsigned long length);
|
||||||
/* perform query on master */
|
/* perform query on master */
|
||||||
@ -437,8 +415,6 @@ MYSQL_RES * STDCALL mysql_list_tables(MYSQL *mysql,const char *wild);
|
|||||||
MYSQL_RES * STDCALL mysql_list_fields(MYSQL *mysql, const char *table,
|
MYSQL_RES * STDCALL mysql_list_fields(MYSQL *mysql, const char *table,
|
||||||
const char *wild);
|
const char *wild);
|
||||||
MYSQL_RES * STDCALL mysql_list_processes(MYSQL *mysql);
|
MYSQL_RES * STDCALL mysql_list_processes(MYSQL *mysql);
|
||||||
MYSQL_RES * STDCALL mysql_store_result(MYSQL *mysql);
|
|
||||||
MYSQL_RES * STDCALL mysql_use_result(MYSQL *mysql);
|
|
||||||
int STDCALL mysql_options(MYSQL *mysql,enum mysql_option option,
|
int STDCALL mysql_options(MYSQL *mysql,enum mysql_option option,
|
||||||
const char *arg);
|
const char *arg);
|
||||||
void STDCALL mysql_free_result(MYSQL_RES *result);
|
void STDCALL mysql_free_result(MYSQL_RES *result);
|
||||||
@ -559,6 +535,24 @@ typedef struct st_mysql_stmt
|
|||||||
} MYSQL_STMT;
|
} MYSQL_STMT;
|
||||||
|
|
||||||
|
|
||||||
|
#define mysql_read_query_result(mysql) (*(mysql)->methods->read_query_result)(mysql)
|
||||||
|
#define mysql_store_result(mysql) (*(mysql)->methods->store_result)(mysql)
|
||||||
|
#define mysql_use_result(mysql) (*(mysql)->methods->use_result)(mysql)
|
||||||
|
|
||||||
|
typedef struct st_mysql_methods
|
||||||
|
{
|
||||||
|
my_bool STDCALL (*read_query_result)(MYSQL *mysql);
|
||||||
|
my_bool STDCALL (*advanced_command)(MYSQL *mysql,
|
||||||
|
enum enum_server_command command,
|
||||||
|
const char *header,
|
||||||
|
unsigned long header_length,
|
||||||
|
const char *arg,
|
||||||
|
unsigned long arg_length, my_bool skip_check);
|
||||||
|
MYSQL_RES * STDCALL (*store_result)(MYSQL *mysql);
|
||||||
|
MYSQL_RES * STDCALL (*use_result)(MYSQL *mysql);
|
||||||
|
void STDCALL (*fetch_lengths)(unsigned long *to, MYSQL_ROW column, uint field_count);
|
||||||
|
} MYSQL_METHODS;
|
||||||
|
|
||||||
MYSQL_STMT * STDCALL mysql_prepare(MYSQL * mysql, const char *query,
|
MYSQL_STMT * STDCALL mysql_prepare(MYSQL * mysql, const char *query,
|
||||||
unsigned long length);
|
unsigned long length);
|
||||||
int STDCALL mysql_execute(MYSQL_STMT * stmt);
|
int STDCALL mysql_execute(MYSQL_STMT * stmt);
|
||||||
@ -593,6 +587,8 @@ MYSQL_ROW_OFFSET STDCALL mysql_stmt_row_seek(MYSQL_STMT *stmt,
|
|||||||
MYSQL_ROW_OFFSET STDCALL mysql_stmt_row_tell(MYSQL_STMT *stmt);
|
MYSQL_ROW_OFFSET STDCALL mysql_stmt_row_tell(MYSQL_STMT *stmt);
|
||||||
void STDCALL mysql_stmt_data_seek(MYSQL_STMT *stmt, my_ulonglong offset);
|
void STDCALL mysql_stmt_data_seek(MYSQL_STMT *stmt, my_ulonglong offset);
|
||||||
my_ulonglong STDCALL mysql_stmt_num_rows(MYSQL_STMT *stmt);
|
my_ulonglong STDCALL mysql_stmt_num_rows(MYSQL_STMT *stmt);
|
||||||
|
void STDCALL mysql_close(MYSQL *sock);
|
||||||
|
|
||||||
|
|
||||||
/* status return codes */
|
/* status return codes */
|
||||||
#define MYSQL_NO_DATA 100
|
#define MYSQL_NO_DATA 100
|
||||||
@ -613,9 +609,9 @@ int STDCALL mysql_drop_db(MYSQL *mysql, const char *DB);
|
|||||||
They are not for general usage
|
They are not for general usage
|
||||||
*/
|
*/
|
||||||
|
|
||||||
my_bool
|
#define simple_command(mysql, command, arg, length, skip_check) \
|
||||||
simple_command(MYSQL *mysql,enum enum_server_command command, const char *arg,
|
(*(mysql)->methods->advanced_command)(mysql, command, \
|
||||||
unsigned long length, my_bool skip_check);
|
NullS, 0, arg, length, skip_check)
|
||||||
unsigned long net_safe_read(MYSQL* mysql);
|
unsigned long net_safe_read(MYSQL* mysql);
|
||||||
void mysql_once_init(void);
|
void mysql_once_init(void);
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ typedef struct st_vio Vio;
|
|||||||
#define MAX_BLOB_WIDTH 8192 /* Default width for blob */
|
#define MAX_BLOB_WIDTH 8192 /* Default width for blob */
|
||||||
|
|
||||||
typedef struct st_net {
|
typedef struct st_net {
|
||||||
#ifndef EMBEDDED_LIBRARY
|
#if !defined(CHECK_EMBEDDED_DIFFERENCES) || !defined(EMBEDDED_LIBRARY)
|
||||||
Vio* vio;
|
Vio* vio;
|
||||||
unsigned char *buff,*buff_end,*write_pos,*read_pos;
|
unsigned char *buff,*buff_end,*write_pos,*read_pos;
|
||||||
my_socket fd; /* For Perl DBI/dbd */
|
my_socket fd; /* For Perl DBI/dbd */
|
||||||
@ -234,7 +234,8 @@ void my_net_local_init(NET *net);
|
|||||||
void net_end(NET *net);
|
void net_end(NET *net);
|
||||||
void net_clear(NET *net);
|
void net_clear(NET *net);
|
||||||
my_bool net_realloc(NET *net, unsigned long length);
|
my_bool net_realloc(NET *net, unsigned long length);
|
||||||
#ifndef EMBEDDED_LIBRARY
|
|
||||||
|
#ifndef EMBEDDED_LIBRARY /* To be removed by HF */
|
||||||
my_bool net_flush(NET *net);
|
my_bool net_flush(NET *net);
|
||||||
#else
|
#else
|
||||||
#define net_flush(A)
|
#define net_flush(A)
|
||||||
@ -339,6 +340,7 @@ void my_thread_end(void);
|
|||||||
#ifdef _global_h
|
#ifdef _global_h
|
||||||
ulong STDCALL net_field_length(uchar **packet);
|
ulong STDCALL net_field_length(uchar **packet);
|
||||||
my_ulonglong net_field_length_ll(uchar **packet);
|
my_ulonglong net_field_length_ll(uchar **packet);
|
||||||
|
char *net_store_length(char *pkg, ulonglong length);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -19,11 +19,11 @@
|
|||||||
#ifdef EMBEDDED_LIBRARY
|
#ifdef EMBEDDED_LIBRARY
|
||||||
|
|
||||||
/* Things we don't need in the embedded version of MySQL */
|
/* Things we don't need in the embedded version of MySQL */
|
||||||
|
/* TODO HF add #undef HAVE_VIO if we don't want client in embedded library */
|
||||||
|
|
||||||
#undef HAVE_PSTACK /* No stacktrace */
|
#undef HAVE_PSTACK /* No stacktrace */
|
||||||
#undef HAVE_DLOPEN /* No udf functions */
|
#undef HAVE_DLOPEN /* No udf functions */
|
||||||
#undef HAVE_OPENSSL
|
#undef HAVE_OPENSSL
|
||||||
#undef HAVE_VIO
|
|
||||||
#undef HAVE_ISAM
|
#undef HAVE_ISAM
|
||||||
#undef HAVE_SMEM /* No shared memory */
|
#undef HAVE_SMEM /* No shared memory */
|
||||||
|
|
||||||
|
@ -287,4 +287,5 @@
|
|||||||
#define ER_CANT_AGGREGATE_3COLLATIONS 1268
|
#define ER_CANT_AGGREGATE_3COLLATIONS 1268
|
||||||
#define ER_CANT_AGGREGATE_NCOLLATIONS 1269
|
#define ER_CANT_AGGREGATE_NCOLLATIONS 1269
|
||||||
#define ER_VARIABLE_IS_NOT_STRUCT 1270
|
#define ER_VARIABLE_IS_NOT_STRUCT 1270
|
||||||
#define ER_ERROR_MESSAGES 271
|
#define ER_UNKNOWN_COLLATION 1271
|
||||||
|
#define ER_ERROR_MESSAGES 272
|
||||||
|
@ -27,17 +27,15 @@ my_ulonglong net_field_length_ll(uchar **packet);
|
|||||||
|
|
||||||
MYSQL_FIELD *unpack_fields(MYSQL_DATA *data,MEM_ROOT *alloc,uint fields,
|
MYSQL_FIELD *unpack_fields(MYSQL_DATA *data,MEM_ROOT *alloc,uint fields,
|
||||||
my_bool default_value, uint server_capabilities);
|
my_bool default_value, uint server_capabilities);
|
||||||
my_bool advanced_command(MYSQL *mysql, enum enum_server_command command,
|
|
||||||
const char *header, ulong header_length,
|
|
||||||
const char *arg, ulong arg_length, my_bool skip_check);
|
|
||||||
void free_rows(MYSQL_DATA *cur);
|
void free_rows(MYSQL_DATA *cur);
|
||||||
MYSQL_DATA *read_rows (MYSQL *mysql,MYSQL_FIELD *fields,
|
MYSQL_DATA *read_rows (MYSQL *mysql,MYSQL_FIELD *fields,
|
||||||
uint field_count);
|
uint field_count);
|
||||||
my_bool mysql_autenticate(MYSQL *mysql, const char *passwd);
|
my_bool mysql_autenticate(MYSQL *mysql, const char *passwd);
|
||||||
void fetch_lengths(ulong *to, MYSQL_ROW column, uint field_count);
|
|
||||||
void free_old_query(MYSQL *mysql);
|
void free_old_query(MYSQL *mysql);
|
||||||
void end_server(MYSQL *mysql);
|
void end_server(MYSQL *mysql);
|
||||||
my_bool mysql_reconnect(MYSQL *mysql);
|
my_bool mysql_reconnect(MYSQL *mysql);
|
||||||
|
void mysql_read_default_options(struct st_mysql_options *options,
|
||||||
|
const char *filename,const char *group);
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -220,7 +220,7 @@ enum SSL_type
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#ifndef EMBEDDED_LIBRARY
|
/* HFTODO - hide this if we don't want client in embedded server */
|
||||||
/* This structure is for every connection on both sides */
|
/* This structure is for every connection on both sides */
|
||||||
struct st_vio
|
struct st_vio
|
||||||
{
|
{
|
||||||
@ -263,5 +263,4 @@ struct st_vio
|
|||||||
#endif /* HAVE_SMEM */
|
#endif /* HAVE_SMEM */
|
||||||
#endif /* HAVE_VIO */
|
#endif /* HAVE_VIO */
|
||||||
};
|
};
|
||||||
#endif /* EMBEDDED_LIBRARY */
|
|
||||||
#endif /* vio_violite_h_ */
|
#endif /* vio_violite_h_ */
|
||||||
|
@ -14,12 +14,13 @@
|
|||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||||
|
|
||||||
|
extern uint mysql_port;
|
||||||
|
extern my_string mysql_unix_port;
|
||||||
|
|
||||||
#define CLIENT_CAPABILITIES (CLIENT_LONG_PASSWORD | CLIENT_LONG_FLAG | \
|
#define CLIENT_CAPABILITIES (CLIENT_LONG_PASSWORD | CLIENT_LONG_FLAG | \
|
||||||
CLIENT_LOCAL_FILES | CLIENT_TRANSACTIONS | \
|
CLIENT_LOCAL_FILES | CLIENT_TRANSACTIONS | \
|
||||||
CLIENT_PROTOCOL_41 | CLIENT_SECURE_CONNECTION)
|
CLIENT_PROTOCOL_41 | CLIENT_SECURE_CONNECTION)
|
||||||
|
|
||||||
|
|
||||||
sig_handler pipe_sig_handler(int sig __attribute__((unused)));
|
sig_handler pipe_sig_handler(int sig __attribute__((unused)));
|
||||||
my_bool stmt_close(MYSQL_STMT *stmt, my_bool skip_list);
|
my_bool stmt_close(MYSQL_STMT *stmt, my_bool skip_list);
|
||||||
void read_user_name(char *name);
|
void read_user_name(char *name);
|
||||||
@ -39,3 +40,4 @@ my_bool send_file_to_server(MYSQL *mysql, const char *filename);
|
|||||||
#define set_sigpipe(mysql)
|
#define set_sigpipe(mysql)
|
||||||
#define reset_sigpipe(mysql)
|
#define reset_sigpipe(mysql)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -58,12 +58,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sql_common.h>
|
#include <sql_common.h>
|
||||||
|
#include "client_settings.h"
|
||||||
|
|
||||||
ulong net_buffer_length=8192;
|
ulong net_buffer_length=8192;
|
||||||
ulong max_allowed_packet= 1024L*1024L*1024L;
|
ulong max_allowed_packet= 1024L*1024L*1024L;
|
||||||
ulong net_read_timeout= NET_READ_TIMEOUT;
|
ulong net_read_timeout= NET_READ_TIMEOUT;
|
||||||
ulong net_write_timeout= NET_WRITE_TIMEOUT;
|
ulong net_write_timeout= NET_WRITE_TIMEOUT;
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef EMBEDDED_LIBRARY
|
||||||
|
#undef net_flush
|
||||||
|
my_bool net_flush(NET *net);
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(MSDOS) || defined(__WIN__)
|
#if defined(MSDOS) || defined(__WIN__)
|
||||||
/* socket_errno is defined in my_global.h for all platforms */
|
/* socket_errno is defined in my_global.h for all platforms */
|
||||||
#define perror(A)
|
#define perror(A)
|
||||||
@ -85,19 +92,6 @@ static ulong mysql_sub_escape_string(CHARSET_INFO *charset_info, char *to,
|
|||||||
const char *from, ulong length);
|
const char *from, ulong length);
|
||||||
my_bool stmt_close(MYSQL_STMT *stmt, my_bool skip_list);
|
my_bool stmt_close(MYSQL_STMT *stmt, my_bool skip_list);
|
||||||
|
|
||||||
/*
|
|
||||||
Initialize the MySQL library
|
|
||||||
|
|
||||||
SYNOPSIS
|
|
||||||
mysql_once_init()
|
|
||||||
|
|
||||||
NOTES
|
|
||||||
Can't be static on NetWare
|
|
||||||
This function is called by mysql_init() and indirectly called
|
|
||||||
by mysql_real_query(), so one should never have to call this from an
|
|
||||||
outside program.
|
|
||||||
*/
|
|
||||||
|
|
||||||
static my_bool mysql_client_init= 0;
|
static my_bool mysql_client_init= 0;
|
||||||
static my_bool org_my_init_done= 0;
|
static my_bool org_my_init_done= 0;
|
||||||
|
|
||||||
@ -145,7 +139,7 @@ void mysql_once_init(void)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef EMBEDDED_LIBRARY
|
||||||
int STDCALL mysql_server_init(int argc __attribute__((unused)),
|
int STDCALL mysql_server_init(int argc __attribute__((unused)),
|
||||||
char **argv __attribute__((unused)),
|
char **argv __attribute__((unused)),
|
||||||
char **groups __attribute__((unused)))
|
char **groups __attribute__((unused)))
|
||||||
@ -163,6 +157,8 @@ void STDCALL mysql_server_end()
|
|||||||
mysql_thread_end();
|
mysql_thread_end();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /*EMBEDDED_LIBRARY*/
|
||||||
|
|
||||||
my_bool STDCALL mysql_thread_init()
|
my_bool STDCALL mysql_thread_init()
|
||||||
{
|
{
|
||||||
#ifdef THREAD
|
#ifdef THREAD
|
||||||
@ -183,17 +179,6 @@ void STDCALL mysql_thread_end()
|
|||||||
Let the user specify that we don't want SIGPIPE; This doesn't however work
|
Let the user specify that we don't want SIGPIPE; This doesn't however work
|
||||||
with threaded applications as we can have multiple read in progress.
|
with threaded applications as we can have multiple read in progress.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined(__WIN__) && defined(SIGPIPE) && !defined(THREAD)
|
|
||||||
#define init_sigpipe_variables sig_return old_signal_handler=(sig_return) 0
|
|
||||||
#define set_sigpipe(mysql) if ((mysql)->client_flag & CLIENT_IGNORE_SIGPIPE) old_signal_handler=signal(SIGPIPE,pipe_sig_handler)
|
|
||||||
#define reset_sigpipe(mysql) if ((mysql)->client_flag & CLIENT_IGNORE_SIGPIPE) signal(SIGPIPE,old_signal_handler);
|
|
||||||
#else
|
|
||||||
#define init_sigpipe_variables
|
|
||||||
#define set_sigpipe(mysql)
|
|
||||||
#define reset_sigpipe(mysql)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static MYSQL* spawn_init(MYSQL* parent, const char* host,
|
static MYSQL* spawn_init(MYSQL* parent, const char* host,
|
||||||
unsigned int port,
|
unsigned int port,
|
||||||
const char* user,
|
const char* user,
|
||||||
@ -856,7 +841,6 @@ STDCALL mysql_add_slave(MYSQL* mysql, const char* host,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
Return next field of the query results
|
Return next field of the query results
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
@ -884,7 +868,7 @@ mysql_fetch_lengths(MYSQL_RES *res)
|
|||||||
if (!(column=res->current_row))
|
if (!(column=res->current_row))
|
||||||
return 0; /* Something is wrong */
|
return 0; /* Something is wrong */
|
||||||
if (res->data)
|
if (res->data)
|
||||||
fetch_lengths(res->lengths, column, res->field_count);
|
(*res->methods->fetch_lengths)(res->lengths, column, res->field_count);
|
||||||
return res->lengths;
|
return res->lengths;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -995,6 +979,7 @@ mysql_list_fields(MYSQL *mysql, const char *table, const char *wild)
|
|||||||
free_rows(query);
|
free_rows(query);
|
||||||
DBUG_RETURN(NULL);
|
DBUG_RETURN(NULL);
|
||||||
}
|
}
|
||||||
|
result->methods= mysql->methods;
|
||||||
result->field_alloc=mysql->field_alloc;
|
result->field_alloc=mysql->field_alloc;
|
||||||
mysql->fields=0;
|
mysql->fields=0;
|
||||||
result->field_count = (uint) query->rows;
|
result->field_count = (uint) query->rows;
|
||||||
@ -1720,6 +1705,7 @@ mysql_prepare_result(MYSQL_STMT *stmt)
|
|||||||
MYF(MY_WME | MY_ZEROFILL))))
|
MYF(MY_WME | MY_ZEROFILL))))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
result->methods= stmt->mysql->methods;
|
||||||
result->eof=1; /* Marker for buffered */
|
result->eof=1; /* Marker for buffered */
|
||||||
result->fields= stmt->fields;
|
result->fields= stmt->fields;
|
||||||
result->field_count= stmt->field_count;
|
result->field_count= stmt->field_count;
|
||||||
@ -1762,39 +1748,6 @@ static void store_param_type(NET *net, uint type)
|
|||||||
net->write_pos+=2;
|
net->write_pos+=2;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
Store the length of parameter data
|
|
||||||
(Same function as in sql/net_pkg.cc)
|
|
||||||
*/
|
|
||||||
|
|
||||||
char *
|
|
||||||
net_store_length(char *pkg, ulong length)
|
|
||||||
{
|
|
||||||
uchar *packet=(uchar*) pkg;
|
|
||||||
if (length < 251)
|
|
||||||
{
|
|
||||||
*packet=(uchar) length;
|
|
||||||
return (char*) packet+1;
|
|
||||||
}
|
|
||||||
/* 251 is reserved for NULL */
|
|
||||||
if (length < 65536L)
|
|
||||||
{
|
|
||||||
*packet++=252;
|
|
||||||
int2store(packet,(uint) length);
|
|
||||||
return (char*) packet+2;
|
|
||||||
}
|
|
||||||
if (length < 16777216L)
|
|
||||||
{
|
|
||||||
*packet++=253;
|
|
||||||
int3store(packet,(ulong) length);
|
|
||||||
return (char*) packet+3;
|
|
||||||
}
|
|
||||||
*packet++=254;
|
|
||||||
int8store(packet, (ulonglong) length);
|
|
||||||
return (char*) packet+9;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
Functions to store parameter data from a prepared statement.
|
Functions to store parameter data from a prepared statement.
|
||||||
|
|
||||||
@ -1994,8 +1947,9 @@ static my_bool execute(MYSQL_STMT * stmt, char *packet, ulong length)
|
|||||||
|
|
||||||
mysql->last_used_con= mysql;
|
mysql->last_used_con= mysql;
|
||||||
int4store(buff, stmt->stmt_id); /* Send stmt id to server */
|
int4store(buff, stmt->stmt_id); /* Send stmt id to server */
|
||||||
if (advanced_command(mysql, COM_EXECUTE, buff, MYSQL_STMT_HEADER, packet,
|
if ((*mysql->methods->advanced_command)(mysql, COM_EXECUTE, buff,
|
||||||
length, 1) ||
|
MYSQL_STMT_HEADER, packet,
|
||||||
|
length, 1) ||
|
||||||
mysql_read_query_result(mysql))
|
mysql_read_query_result(mysql))
|
||||||
{
|
{
|
||||||
set_stmt_errmsg(stmt, net->last_error, net->last_errno, net->sqlstate);
|
set_stmt_errmsg(stmt, net->last_error, net->last_errno, net->sqlstate);
|
||||||
@ -2287,8 +2241,9 @@ mysql_send_long_data(MYSQL_STMT *stmt, uint param_number,
|
|||||||
Note that we don't get any ok packet from the server in this case
|
Note that we don't get any ok packet from the server in this case
|
||||||
This is intentional to save bandwidth.
|
This is intentional to save bandwidth.
|
||||||
*/
|
*/
|
||||||
if (advanced_command(mysql, COM_LONG_DATA, extra_data,
|
if ((*mysql->methods->advanced_command)(mysql, COM_LONG_DATA, extra_data,
|
||||||
MYSQL_LONG_DATA_HEADER, data, length, 1))
|
MYSQL_LONG_DATA_HEADER, data,
|
||||||
|
length, 1))
|
||||||
{
|
{
|
||||||
set_stmt_errmsg(stmt, mysql->net.last_error,
|
set_stmt_errmsg(stmt, mysql->net.last_error,
|
||||||
mysql->net.last_errno, mysql->net.sqlstate);
|
mysql->net.last_errno, mysql->net.sqlstate);
|
||||||
@ -3240,6 +3195,7 @@ int STDCALL mysql_stmt_store_result(MYSQL_STMT *stmt)
|
|||||||
set_stmt_error(stmt, CR_OUT_OF_MEMORY, unknown_sqlstate);
|
set_stmt_error(stmt, CR_OUT_OF_MEMORY, unknown_sqlstate);
|
||||||
DBUG_RETURN(1);
|
DBUG_RETURN(1);
|
||||||
}
|
}
|
||||||
|
result->methods= mysql->methods;
|
||||||
stmt->result_buffered= 1;
|
stmt->result_buffered= 1;
|
||||||
if (!(result->data= read_binary_rows(stmt)))
|
if (!(result->data= read_binary_rows(stmt)))
|
||||||
{
|
{
|
||||||
@ -3435,7 +3391,7 @@ my_bool STDCALL mysql_stmt_reset(MYSQL_STMT *stmt)
|
|||||||
|
|
||||||
mysql= stmt->mysql->last_used_con;
|
mysql= stmt->mysql->last_used_con;
|
||||||
int4store(buff, stmt->stmt_id); /* Send stmt id to server */
|
int4store(buff, stmt->stmt_id); /* Send stmt id to server */
|
||||||
if (advanced_command(mysql, COM_RESET_STMT,buff,MYSQL_STMT_HEADER,0,0,1))
|
if ((*mysql->methods->advanced_command)(mysql, COM_RESET_STMT,buff,MYSQL_STMT_HEADER,0,0,1))
|
||||||
{
|
{
|
||||||
set_stmt_errmsg(stmt, mysql->net.last_error, mysql->net.last_errno,
|
set_stmt_errmsg(stmt, mysql->net.last_error, mysql->net.last_errno,
|
||||||
mysql->net.sqlstate);
|
mysql->net.sqlstate);
|
||||||
|
@ -32,7 +32,7 @@ noinst_LIBRARIES = libmysqld_int.a
|
|||||||
pkglib_LIBRARIES = libmysqld.a
|
pkglib_LIBRARIES = libmysqld.a
|
||||||
SUBDIRS = . examples
|
SUBDIRS = . examples
|
||||||
libmysqld_sources= libmysqld.c lib_sql.cc
|
libmysqld_sources= libmysqld.c lib_sql.cc
|
||||||
libmysqlsources = errmsg.c get_password.c
|
libmysqlsources = errmsg.c get_password.c libmysql.c client.c pack.c
|
||||||
|
|
||||||
noinst_HEADERS = embedded_priv.h
|
noinst_HEADERS = embedded_priv.h
|
||||||
|
|
||||||
@ -57,8 +57,6 @@ sqlsources = derror.cc field.cc field_conv.cc filesort.cc \
|
|||||||
unireg.cc uniques.cc stacktrace.c sql_union.cc hash_filo.cc \
|
unireg.cc uniques.cc stacktrace.c sql_union.cc hash_filo.cc \
|
||||||
spatial.cc gstream.cc sql_help.cc
|
spatial.cc gstream.cc sql_help.cc
|
||||||
|
|
||||||
EXTRA_DIST = lib_vio.c
|
|
||||||
|
|
||||||
libmysqld_int_a_SOURCES= $(libmysqld_sources) $(libmysqlsources) $(sqlsources)
|
libmysqld_int_a_SOURCES= $(libmysqld_sources) $(libmysqlsources) $(sqlsources)
|
||||||
libmysqld_a_SOURCES=
|
libmysqld_a_SOURCES=
|
||||||
|
|
||||||
@ -74,7 +72,8 @@ INC_LIB= $(top_builddir)/regex/libregex.a \
|
|||||||
$(top_builddir)/mysys/libmysys.a \
|
$(top_builddir)/mysys/libmysys.a \
|
||||||
$(top_builddir)/strings/libmystrings.a \
|
$(top_builddir)/strings/libmystrings.a \
|
||||||
$(top_builddir)/dbug/libdbug.a \
|
$(top_builddir)/dbug/libdbug.a \
|
||||||
$(top_builddir)/regex/libregex.a
|
$(top_builddir)/regex/libregex.a \
|
||||||
|
$(top_builddir)/vio/libvio.a
|
||||||
|
|
||||||
#
|
#
|
||||||
# To make it easy for the end user to use the embedded library we
|
# To make it easy for the end user to use the embedded library we
|
||||||
@ -115,11 +114,15 @@ link_sources:
|
|||||||
for f in $(libmysqlsources); do \
|
for f in $(libmysqlsources); do \
|
||||||
rm -f $(srcdir)/$$f; \
|
rm -f $(srcdir)/$$f; \
|
||||||
@LN_CP_F@ $(srcdir)/../libmysql/$$f $(srcdir)/$$f; \
|
@LN_CP_F@ $(srcdir)/../libmysql/$$f $(srcdir)/$$f; \
|
||||||
done
|
done; \
|
||||||
|
rm -f $(srcdir)/client_settings.h; \
|
||||||
|
@LN_CP_F@ $(srcdir)/../libmysql/client_settings.h $(srcdir)/client_settings.h;
|
||||||
|
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
rm -f `echo $(sqlsources) $(libmysqlsources) | sed "s;\.lo;.c;g"` \
|
rm -f `echo $(sqlsources) $(libmysqlsources) | sed "s;\.lo;.c;g"` \
|
||||||
$(top_srcdir)/linked_libmysqld_sources
|
$(top_srcdir)/linked_libmysqld_sources; \
|
||||||
|
rm -f client_settings.h
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
@ -26,6 +26,4 @@ C_MODE_START
|
|||||||
extern void lib_connection_phase(NET *net, int phase);
|
extern void lib_connection_phase(NET *net, int phase);
|
||||||
extern void init_embedded_mysql(MYSQL *mysql, int client_flag, char *db);
|
extern void init_embedded_mysql(MYSQL *mysql, int client_flag, char *db);
|
||||||
extern void *create_embedded_thd(int client_flag, char *db);
|
extern void *create_embedded_thd(int client_flag, char *db);
|
||||||
extern my_bool simple_command(MYSQL *mysql,enum enum_server_command command, const char *arg,
|
|
||||||
ulong length, my_bool skipp_check);
|
|
||||||
C_MODE_END
|
C_MODE_END
|
||||||
|
@ -10,7 +10,7 @@ link_sources:
|
|||||||
DEFS = -DEMBEDDED_LIBRARY
|
DEFS = -DEMBEDDED_LIBRARY
|
||||||
INCLUDES = @MT_INCLUDES@ -I$(top_srcdir)/include -I$(srcdir) \
|
INCLUDES = @MT_INCLUDES@ -I$(top_srcdir)/include -I$(srcdir) \
|
||||||
-I$(top_srcdir) -I$(top_srcdir)/client $(openssl_includes)
|
-I$(top_srcdir) -I$(top_srcdir)/client $(openssl_includes)
|
||||||
LIBS = @LIBS@ @WRAPLIBS@
|
LIBS = @LIBS@ @WRAPLIBS@ @CLIENT_LIBS@
|
||||||
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @innodb_system_libs@ @bdb_libs_with_path@ @LIBDL@ $(CXXLDFLAGS)
|
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @innodb_system_libs@ @bdb_libs_with_path@ @LIBDL@ $(CXXLDFLAGS)
|
||||||
|
|
||||||
mysqltest_SOURCES = mysqltest.c
|
mysqltest_SOURCES = mysqltest.c
|
||||||
|
@ -38,6 +38,7 @@ static char inited, org_my_init_done;
|
|||||||
C_MODE_START
|
C_MODE_START
|
||||||
#include <mysql.h>
|
#include <mysql.h>
|
||||||
#include "errmsg.h"
|
#include "errmsg.h"
|
||||||
|
#include <sql_common.h>
|
||||||
|
|
||||||
static int check_connections1(THD * thd);
|
static int check_connections1(THD * thd);
|
||||||
static int check_connections2(THD * thd);
|
static int check_connections2(THD * thd);
|
||||||
@ -47,9 +48,10 @@ static bool check_user(THD *thd, enum_server_command command,
|
|||||||
char * get_mysql_home(){ return mysql_home;};
|
char * get_mysql_home(){ return mysql_home;};
|
||||||
char * get_mysql_real_data_home(){ return mysql_real_data_home;};
|
char * get_mysql_real_data_home(){ return mysql_real_data_home;};
|
||||||
|
|
||||||
my_bool simple_command(MYSQL *mysql,enum enum_server_command command,
|
my_bool
|
||||||
const char *arg,
|
emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
|
||||||
ulong length, my_bool skipp_check)
|
const char *header, ulong header_length,
|
||||||
|
const char *arg, ulong arg_length, my_bool skip_check)
|
||||||
{
|
{
|
||||||
my_bool result= 1;
|
my_bool result= 1;
|
||||||
THD *thd=(THD *) mysql->thd;
|
THD *thd=(THD *) mysql->thd;
|
||||||
@ -65,15 +67,23 @@ my_bool simple_command(MYSQL *mysql,enum enum_server_command command,
|
|||||||
/* Clear result variables */
|
/* Clear result variables */
|
||||||
thd->clear_error();
|
thd->clear_error();
|
||||||
mysql->affected_rows= ~(my_ulonglong) 0;
|
mysql->affected_rows= ~(my_ulonglong) 0;
|
||||||
|
mysql->field_count= 0;
|
||||||
|
|
||||||
thd->store_globals(); // Fix if more than one connect
|
thd->store_globals(); // Fix if more than one connect
|
||||||
result= dispatch_command(command, thd, (char *) arg, length + 1);
|
free_old_query(mysql);
|
||||||
|
result= dispatch_command(command, thd, (char *) arg, arg_length + 1);
|
||||||
|
|
||||||
if (!skipp_check)
|
if (!skip_check)
|
||||||
result= thd->net.last_errno ? -1 : 0;
|
result= thd->net.last_errno ? -1 : 0;
|
||||||
|
|
||||||
mysql->last_error= thd->net.last_error;
|
if ((mysql->net.last_errno= thd->net.last_errno))
|
||||||
mysql->last_errno= thd->net.last_errno;
|
{
|
||||||
|
memcpy(mysql->net.last_error, thd->net.last_error,
|
||||||
|
sizeof(mysql->net.last_error));
|
||||||
|
memcpy(mysql->net.sqlstate, thd->net.sqlstate,
|
||||||
|
sizeof(mysql->net.sqlstate));
|
||||||
|
}
|
||||||
|
mysql->warning_count= ((THD*)mysql->thd)->total_warn_count;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -144,7 +154,6 @@ char **copy_arguments(int argc, char **argv)
|
|||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
|
||||||
ulong max_allowed_packet, net_buffer_length;
|
|
||||||
char ** copy_arguments_ptr= 0;
|
char ** copy_arguments_ptr= 0;
|
||||||
|
|
||||||
int STDCALL mysql_server_init(int argc, char **argv, char **groups)
|
int STDCALL mysql_server_init(int argc, char **argv, char **groups)
|
||||||
@ -281,21 +290,6 @@ void STDCALL mysql_server_end()
|
|||||||
my_end(0);
|
my_end(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
my_bool STDCALL mysql_thread_init()
|
|
||||||
{
|
|
||||||
#ifdef THREAD
|
|
||||||
return my_thread_init();
|
|
||||||
#else
|
|
||||||
return 0;
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
void STDCALL mysql_thread_end()
|
|
||||||
{
|
|
||||||
#ifdef THREAD
|
|
||||||
my_thread_end();
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
} /* extern "C" */
|
} /* extern "C" */
|
||||||
|
|
||||||
C_MODE_START
|
C_MODE_START
|
||||||
@ -303,7 +297,6 @@ void init_embedded_mysql(MYSQL *mysql, int client_flag, char *db)
|
|||||||
{
|
{
|
||||||
THD *thd = (THD *)mysql->thd;
|
THD *thd = (THD *)mysql->thd;
|
||||||
thd->mysql= mysql;
|
thd->mysql= mysql;
|
||||||
mysql->last_error= thd->net.last_error;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void *create_embedded_thd(int client_flag, char *db)
|
void *create_embedded_thd(int client_flag, char *db)
|
||||||
@ -454,11 +447,6 @@ send_eof(THD *thd, bool no_flush)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
uint STDCALL mysql_warning_count(MYSQL *mysql)
|
|
||||||
{
|
|
||||||
return ((THD *)mysql->thd)->total_warn_count;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Protocol_simple::prepare_for_resend()
|
void Protocol_simple::prepare_for_resend()
|
||||||
{
|
{
|
||||||
MYSQL_ROWS *cur;
|
MYSQL_ROWS *cur;
|
||||||
|
@ -1,236 +0,0 @@
|
|||||||
/* Copyright (C) 2000 MySQL AB
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
|
||||||
|
|
||||||
/*
|
|
||||||
Note that we can't have assertion on file descriptors; The reason for
|
|
||||||
this is that during mysql shutdown, another thread can close a file
|
|
||||||
we are working on. In this case we should just return read errors from
|
|
||||||
the file descriptior.
|
|
||||||
*/
|
|
||||||
#ifdef DUMMY
|
|
||||||
|
|
||||||
#include <my_global.h>
|
|
||||||
#include "mysql_embed.h"
|
|
||||||
#include "mysql.h"
|
|
||||||
|
|
||||||
#ifndef HAVE_VIO /* is Vio enabled */
|
|
||||||
|
|
||||||
#include <errno.h>
|
|
||||||
#include <my_sys.h>
|
|
||||||
#include <violite.h>
|
|
||||||
#include <my_net.h>
|
|
||||||
#include <m_string.h>
|
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
#ifndef __WIN__
|
|
||||||
#define HANDLE void *
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct st_vio
|
|
||||||
{
|
|
||||||
enum enum_vio_type type; /* Type of connection */
|
|
||||||
void *dest_thd;
|
|
||||||
char *packets, **last_packet;
|
|
||||||
char *where_in_packet, *end_of_packet;
|
|
||||||
my_bool reading;
|
|
||||||
MEM_ROOT root;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/* Initialize the communication buffer */
|
|
||||||
|
|
||||||
Vio *vio_new(my_socket sd, enum enum_vio_type type, my_bool localhost)
|
|
||||||
{
|
|
||||||
DBUG_ENTER("vio_new");
|
|
||||||
Vio * vio;
|
|
||||||
|
|
||||||
if ((vio= (Vio *) my_malloc(sizeof(*vio),MYF(MY_WME|MY_ZEROFILL))))
|
|
||||||
{
|
|
||||||
init_alloc_root(&vio->root, 8192, 8192);
|
|
||||||
vio->root.min_malloc = sizeof(char *) + 4;
|
|
||||||
vio->last_packet = &vio->packets;
|
|
||||||
vio->type = type;
|
|
||||||
}
|
|
||||||
DBUG_RETURN(vio);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __WIN__
|
|
||||||
|
|
||||||
Vio *vio_new_win32pipe(HANDLE hPipe)
|
|
||||||
{
|
|
||||||
return (NULL);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void vio_delete(Vio * vio)
|
|
||||||
{
|
|
||||||
DBUG_ENTER("vio_delete");
|
|
||||||
if (vio)
|
|
||||||
{
|
|
||||||
if (vio->type != VIO_CLOSED)
|
|
||||||
vio_close(vio);
|
|
||||||
free_root(&vio->root, MYF(0));
|
|
||||||
my_free((gptr) vio, MYF(0));
|
|
||||||
}
|
|
||||||
DBUG_VOID_RETURN;
|
|
||||||
}
|
|
||||||
|
|
||||||
void vio_reset(Vio *vio)
|
|
||||||
{
|
|
||||||
DBUG_ENTER("vio_reset");
|
|
||||||
free_root(&vio->root, MYF(MY_KEEP_PREALLOC));
|
|
||||||
vio->packets = vio->where_in_packet = vio->end_of_packet = 0;
|
|
||||||
vio->last_packet = &vio->packets;
|
|
||||||
DBUG_VOID_RETURN;
|
|
||||||
}
|
|
||||||
|
|
||||||
int vio_errno(Vio *vio __attribute__((unused)))
|
|
||||||
{
|
|
||||||
return socket_errno; /* On Win32 this mapped to WSAGetLastError() */
|
|
||||||
}
|
|
||||||
|
|
||||||
int vio_read(Vio * vio, gptr buf, int size)
|
|
||||||
{
|
|
||||||
vio->reading = 1;
|
|
||||||
if (vio->where_in_packet >= vio->end_of_packet)
|
|
||||||
{
|
|
||||||
DBUG_ASSERT(vio->packets);
|
|
||||||
vio->where_in_packet = vio->packets + sizeof(char *) + 4;
|
|
||||||
vio->end_of_packet = vio->where_in_packet +
|
|
||||||
uint4korr(vio->packets + sizeof(char *));
|
|
||||||
vio->packets = *(char **)vio->packets;
|
|
||||||
}
|
|
||||||
if (vio->where_in_packet + size > vio->end_of_packet)
|
|
||||||
size = vio->end_of_packet - vio->where_in_packet;
|
|
||||||
memcpy(buf, vio->where_in_packet, size);
|
|
||||||
vio->where_in_packet += size;
|
|
||||||
return (size);
|
|
||||||
}
|
|
||||||
|
|
||||||
int vio_write(Vio * vio, const gptr buf, int size)
|
|
||||||
{
|
|
||||||
DBUG_ENTER("vio_write");
|
|
||||||
char *packet;
|
|
||||||
if (vio->reading)
|
|
||||||
{
|
|
||||||
vio->reading = 0;
|
|
||||||
vio_reset(vio);
|
|
||||||
}
|
|
||||||
if ((packet = alloc_root(&vio->root, sizeof(char*) + 4 + size)))
|
|
||||||
{
|
|
||||||
*vio->last_packet = packet;
|
|
||||||
vio->last_packet = (char **)packet;
|
|
||||||
*((char **)packet) = 0; /* Set forward link to 0 */
|
|
||||||
packet += sizeof(char *);
|
|
||||||
int4store(packet, size);
|
|
||||||
memcpy(packet + 4, buf, size);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
size= -1;
|
|
||||||
DBUG_RETURN(size);
|
|
||||||
}
|
|
||||||
|
|
||||||
int vio_blocking(Vio * vio, my_bool set_blocking_mode, my_bool *old_mode)
|
|
||||||
{
|
|
||||||
return (0);
|
|
||||||
}
|
|
||||||
|
|
||||||
my_bool
|
|
||||||
vio_is_blocking(Vio * vio)
|
|
||||||
{
|
|
||||||
return(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
int vio_fastsend(Vio * vio)
|
|
||||||
{
|
|
||||||
return(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
int vio_keepalive(Vio* vio, my_bool set_keep_alive)
|
|
||||||
{
|
|
||||||
return (0);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
my_bool
|
|
||||||
vio_should_retry(Vio * vio __attribute__((unused)))
|
|
||||||
{
|
|
||||||
int en = socket_errno;
|
|
||||||
return (en == SOCKET_EAGAIN || en == SOCKET_EINTR ||
|
|
||||||
en == SOCKET_EWOULDBLOCK);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
int vio_close(Vio * vio)
|
|
||||||
{
|
|
||||||
return(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
const char *vio_description(Vio * vio)
|
|
||||||
{
|
|
||||||
return "embedded vio";
|
|
||||||
}
|
|
||||||
|
|
||||||
enum enum_vio_type vio_type(Vio* vio)
|
|
||||||
{
|
|
||||||
return VIO_CLOSED;
|
|
||||||
}
|
|
||||||
|
|
||||||
my_socket vio_fd(Vio* vio)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
my_bool vio_peer_addr(Vio * vio, char *buf, uint16 *port)
|
|
||||||
{
|
|
||||||
return(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void vio_in_addr(Vio *vio, struct in_addr *in)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
my_bool vio_poll_read(Vio *vio,uint timeout)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int create_vio(NET *net, int separate_thread)
|
|
||||||
{
|
|
||||||
Vio * v = net->vio;
|
|
||||||
if (!v)
|
|
||||||
{
|
|
||||||
v = vio_new(0, separate_thread ? VIO_CLOSED : VIO_TYPE_TCPIP, 0);
|
|
||||||
net->vio = v;
|
|
||||||
}
|
|
||||||
return !v;
|
|
||||||
}
|
|
||||||
|
|
||||||
void set_thd(Vio *v, void *thd)
|
|
||||||
{
|
|
||||||
if (v)
|
|
||||||
{
|
|
||||||
v -> dest_thd = thd;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif /* HAVE_VIO */
|
|
||||||
#endif /* DUMMY */
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
@ -150,3 +150,91 @@ select last_insert_id();
|
|||||||
last_insert_id()
|
last_insert_id()
|
||||||
0
|
0
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
create table t1(a int auto_increment,b int null,primary key(a));
|
||||||
|
SET SQL_MODE=NO_AUTO_VALUE_ON_ZERO;
|
||||||
|
insert into t1(a,b)values(NULL,1);
|
||||||
|
insert into t1(a,b)values(200,2);
|
||||||
|
insert into t1(a,b)values(0,3);
|
||||||
|
insert into t1(b)values(4);
|
||||||
|
insert into t1(b)values(5);
|
||||||
|
insert into t1(b)values(6);
|
||||||
|
insert into t1(b)values(7);
|
||||||
|
select * from t1 order by b;
|
||||||
|
a b
|
||||||
|
1 1
|
||||||
|
200 2
|
||||||
|
0 3
|
||||||
|
201 4
|
||||||
|
202 5
|
||||||
|
203 6
|
||||||
|
204 7
|
||||||
|
delete from t1 where a=0;
|
||||||
|
update t1 set a=0 where b=5;
|
||||||
|
select * from t1 order by b;
|
||||||
|
a b
|
||||||
|
1 1
|
||||||
|
200 2
|
||||||
|
201 4
|
||||||
|
0 5
|
||||||
|
203 6
|
||||||
|
204 7
|
||||||
|
delete from t1 where a=0;
|
||||||
|
update t1 set a=NULL where b=6;
|
||||||
|
Warnings:
|
||||||
|
Warning 1261 Data truncated, NULL supplied to NOT NULL column 'a' at row 4
|
||||||
|
update t1 set a=300 where b=7;
|
||||||
|
SET SQL_MODE='';
|
||||||
|
insert into t1(a,b)values(NULL,8);
|
||||||
|
insert into t1(a,b)values(400,9);
|
||||||
|
insert into t1(a,b)values(0,10);
|
||||||
|
insert into t1(b)values(11);
|
||||||
|
insert into t1(b)values(12);
|
||||||
|
insert into t1(b)values(13);
|
||||||
|
insert into t1(b)values(14);
|
||||||
|
select * from t1 order by b;
|
||||||
|
a b
|
||||||
|
1 1
|
||||||
|
200 2
|
||||||
|
201 4
|
||||||
|
0 6
|
||||||
|
300 7
|
||||||
|
301 8
|
||||||
|
400 9
|
||||||
|
401 10
|
||||||
|
402 11
|
||||||
|
403 12
|
||||||
|
404 13
|
||||||
|
405 14
|
||||||
|
delete from t1 where a=0;
|
||||||
|
update t1 set a=0 where b=12;
|
||||||
|
select * from t1 order by b;
|
||||||
|
a b
|
||||||
|
1 1
|
||||||
|
200 2
|
||||||
|
201 4
|
||||||
|
300 7
|
||||||
|
301 8
|
||||||
|
400 9
|
||||||
|
401 10
|
||||||
|
402 11
|
||||||
|
0 12
|
||||||
|
404 13
|
||||||
|
405 14
|
||||||
|
delete from t1 where a=0;
|
||||||
|
update t1 set a=NULL where b=13;
|
||||||
|
Warnings:
|
||||||
|
Warning 1261 Data truncated, NULL supplied to NOT NULL column 'a' at row 9
|
||||||
|
update t1 set a=500 where b=14;
|
||||||
|
select * from t1 order by b;
|
||||||
|
a b
|
||||||
|
1 1
|
||||||
|
200 2
|
||||||
|
201 4
|
||||||
|
300 7
|
||||||
|
301 8
|
||||||
|
400 9
|
||||||
|
401 10
|
||||||
|
402 11
|
||||||
|
0 13
|
||||||
|
500 14
|
||||||
|
drop table t1;
|
||||||
|
@ -7,6 +7,10 @@ CREATE TABLE t2 (
|
|||||||
latin1_f CHAR(32) CHARACTER SET latin1 COLLATE koi8r_general_ci NOT NULL
|
latin1_f CHAR(32) CHARACTER SET latin1 COLLATE koi8r_general_ci NOT NULL
|
||||||
);
|
);
|
||||||
ERROR 42000: COLLATION 'koi8r_general_ci' is not valid for CHARACTER SET 'latin1'
|
ERROR 42000: COLLATION 'koi8r_general_ci' is not valid for CHARACTER SET 'latin1'
|
||||||
|
CREATE TABLE t2 (
|
||||||
|
latin1_f CHAR(32) CHARACTER SET latin1 COLLATE some_non_existing_col NOT NULL
|
||||||
|
);
|
||||||
|
ERROR HY000: Unknown collation: 'some_non_existing_col'
|
||||||
INSERT INTO t1 (latin1_f) VALUES (_latin1'A');
|
INSERT INTO t1 (latin1_f) VALUES (_latin1'A');
|
||||||
INSERT INTO t1 (latin1_f) VALUES (_latin1'a');
|
INSERT INTO t1 (latin1_f) VALUES (_latin1'a');
|
||||||
INSERT INTO t1 (latin1_f) VALUES (_latin1'AD');
|
INSERT INTO t1 (latin1_f) VALUES (_latin1'AD');
|
||||||
@ -482,7 +486,7 @@ y
|
|||||||
Z
|
Z
|
||||||
z
|
z
|
||||||
SELECT DISTINCT latin1_f COLLATE koi8r FROM t1;
|
SELECT DISTINCT latin1_f COLLATE koi8r FROM t1;
|
||||||
ERROR 42000: COLLATION 'koi8r' is not valid for CHARACTER SET 'latin1'
|
ERROR HY000: Unknown collation: 'koi8r'
|
||||||
SHOW CREATE TABLE t1;
|
SHOW CREATE TABLE t1;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
t1 CREATE TABLE `t1` (
|
t1 CREATE TABLE `t1` (
|
||||||
@ -526,3 +530,9 @@ latin1 latin1_swedish_ci 3 1
|
|||||||
SET CHARACTER SET 'DEFAULT';
|
SET CHARACTER SET 'DEFAULT';
|
||||||
ERROR 42000: Unknown character set: 'DEFAULT'
|
ERROR 42000: Unknown character set: 'DEFAULT'
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
CREATE TABLE t1
|
||||||
|
(s1 CHAR(5) COLLATE latin1_german1_ci,
|
||||||
|
s2 CHAR(5) COLLATE latin1_swedish_ci);
|
||||||
|
SELECT * FROM t1 WHERE s1 = s2;
|
||||||
|
ERROR HY000: Illegal mix of collations (latin1_german1_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation '='
|
||||||
|
DROP TABLE t1;
|
||||||
|
23
mysql-test/r/grant2.result
Normal file
23
mysql-test/r/grant2.result
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
delete from mysql.user where user like 'mysqltest\_%';
|
||||||
|
delete from mysql.db where user like 'mysqltest\_%';
|
||||||
|
flush privileges;
|
||||||
|
grant all privileges on `my\_%`.* to mysqltest_1@localhost with grant option;
|
||||||
|
select current_user();
|
||||||
|
current_user()
|
||||||
|
mysqltest_1@localhost
|
||||||
|
grant all privileges on `my\_1`.* to mysqltest_2@localhost with grant option;
|
||||||
|
grant all privileges on `my_%`.* to mysqltest_3@localhost with grant option;
|
||||||
|
ERROR 42000: Access denied for user: 'mysqltest_1'@'localhost' to database 'my_%'
|
||||||
|
show grants for mysqltest_1@localhost;
|
||||||
|
Grants for mysqltest_1@localhost
|
||||||
|
GRANT USAGE ON *.* TO 'mysqltest_1'@'localhost'
|
||||||
|
GRANT ALL PRIVILEGES ON `my\_%`.* TO 'mysqltest_1'@'localhost' WITH GRANT OPTION
|
||||||
|
show grants for mysqltest_2@localhost;
|
||||||
|
Grants for mysqltest_2@localhost
|
||||||
|
GRANT USAGE ON *.* TO 'mysqltest_2'@'localhost'
|
||||||
|
GRANT ALL PRIVILEGES ON `my\_1`.* TO 'mysqltest_2'@'localhost' WITH GRANT OPTION
|
||||||
|
show grants for mysqltest_3@localhost;
|
||||||
|
ERROR 42000: There is no such grant defined for user 'mysqltest_3' on host 'localhost'
|
||||||
|
delete from mysql.user where user like 'mysqltest\_%';
|
||||||
|
delete from mysql.db where user like 'mysqltest\_%';
|
||||||
|
flush privileges;
|
@ -84,7 +84,7 @@ a b c a
|
|||||||
1 1 1 test.t1
|
1 1 1 test.t1
|
||||||
2 2 2 test.t1
|
2 2 2 test.t1
|
||||||
select * from t2;
|
select * from t2;
|
||||||
ERROR 42000: select command denied to user: 'mysqltest_2@localhost' for table 't2'
|
ERROR 42000: select command denied to user: 'mysqltest_2'@'localhost' for table 't2'
|
||||||
show status like "Qcache_queries_in_cache";
|
show status like "Qcache_queries_in_cache";
|
||||||
Variable_name Value
|
Variable_name Value
|
||||||
Qcache_queries_in_cache 6
|
Qcache_queries_in_cache 6
|
||||||
@ -98,17 +98,17 @@ select "user3";
|
|||||||
user3
|
user3
|
||||||
user3
|
user3
|
||||||
select * from t1;
|
select * from t1;
|
||||||
ERROR 42000: select command denied to user: 'mysqltest_3@localhost' for column 'b' in table 't1'
|
ERROR 42000: select command denied to user: 'mysqltest_3'@'localhost' for column 'b' in table 't1'
|
||||||
select a from t1;
|
select a from t1;
|
||||||
a
|
a
|
||||||
1
|
1
|
||||||
2
|
2
|
||||||
select c from t1;
|
select c from t1;
|
||||||
ERROR 42000: SELECT command denied to user: 'mysqltest_3@localhost' for column 'c' in table 't1'
|
ERROR 42000: SELECT command denied to user: 'mysqltest_3'@'localhost' for column 'c' in table 't1'
|
||||||
select * from t2;
|
select * from t2;
|
||||||
ERROR 42000: select command denied to user: 'mysqltest_3@localhost' for table 't2'
|
ERROR 42000: select command denied to user: 'mysqltest_3'@'localhost' for table 't2'
|
||||||
select mysqltest.t1.c from test.t1,mysqltest.t1;
|
select mysqltest.t1.c from test.t1,mysqltest.t1;
|
||||||
ERROR 42000: SELECT command denied to user: 'mysqltest_3@localhost' for column 'c' in table 't1'
|
ERROR 42000: SELECT command denied to user: 'mysqltest_3'@'localhost' for column 'c' in table 't1'
|
||||||
show status like "Qcache_queries_in_cache";
|
show status like "Qcache_queries_in_cache";
|
||||||
Variable_name Value
|
Variable_name Value
|
||||||
Qcache_queries_in_cache 6
|
Qcache_queries_in_cache 6
|
||||||
|
@ -4,20 +4,20 @@ File Position Binlog_do_db Binlog_ignore_db
|
|||||||
master-bin.000001 79
|
master-bin.000001 79
|
||||||
reset slave;
|
reset slave;
|
||||||
show slave status;
|
show slave status;
|
||||||
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Replicate_do_table Replicate_ignore_table Replicate_wild_do_table Replicate_wild_ignore_table Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
||||||
change master to master_host='127.0.0.1';
|
change master to master_host='127.0.0.1';
|
||||||
show slave status;
|
show slave status;
|
||||||
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Replicate_do_table Replicate_ignore_table Replicate_wild_do_table Replicate_wild_ignore_table Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
||||||
127.0.0.1 test MASTER_PORT 7 4 slave-relay-bin.000001 4 No No 0 0 0 4
|
127.0.0.1 test MASTER_PORT 7 4 slave-relay-bin.000001 4 No No 0 0 0 4
|
||||||
change master to master_host='127.0.0.1',master_user='root',
|
change master to master_host='127.0.0.1',master_user='root',
|
||||||
master_password='',master_port=MASTER_PORT;
|
master_password='',master_port=MASTER_PORT;
|
||||||
show slave status;
|
show slave status;
|
||||||
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Replicate_do_table Replicate_ignore_table Replicate_wild_do_table Replicate_wild_ignore_table Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
||||||
127.0.0.1 root MASTER_PORT 7 4 slave-relay-bin.000001 4 No No 0 0 0 4
|
127.0.0.1 root MASTER_PORT 7 4 slave-relay-bin.000001 4 No No 0 0 0 4
|
||||||
start slave;
|
start slave;
|
||||||
show slave status;
|
show slave status;
|
||||||
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Replicate_do_table Replicate_ignore_table Replicate_wild_do_table Replicate_wild_ignore_table Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
||||||
127.0.0.1 root MASTER_PORT 7 master-bin.000001 79 slave-relay-bin.000001 123 master-bin.000001 Yes Yes 0 0 79 123
|
127.0.0.1 root MASTER_PORT 7 master-bin.000001 79 slave-relay-bin.000001 123 master-bin.000001 Yes Yes 0 0 79 123
|
||||||
drop table if exists t1;
|
drop table if exists t1;
|
||||||
create table t1 (n int);
|
create table t1 (n int);
|
||||||
insert into t1 values (10),(45),(90);
|
insert into t1 values (10),(45),(90);
|
||||||
|
@ -5,7 +5,7 @@ reset slave;
|
|||||||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||||
start slave;
|
start slave;
|
||||||
show slave status;
|
show slave status;
|
||||||
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Replicate_do_table Replicate_ignore_table Replicate_wild_do_table Replicate_wild_ignore_table Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
||||||
load table t1 from master;
|
load table t1 from master;
|
||||||
ERROR 08S01: Error connecting to master: Master is not configured
|
ERROR 08S01: Error connecting to master: Master is not configured
|
||||||
load table t1 from master;
|
load table t1 from master;
|
||||||
|
@ -13,5 +13,5 @@ master_password='',master_port=SLAVE_PORT;
|
|||||||
start slave;
|
start slave;
|
||||||
flush logs;
|
flush logs;
|
||||||
show slave status;
|
show slave status;
|
||||||
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Replicate_do_table Replicate_ignore_table Replicate_wild_do_table Replicate_wild_ignore_table Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
||||||
127.0.0.1 root SLAVE_PORT 60 slave-bin.000001 79 relay-log.000001 122 slave-bin.000001 Yes Yes 0 0 79 122
|
127.0.0.1 root SLAVE_PORT 60 slave-bin.000001 79 relay-log.000001 122 slave-bin.000001 Yes Yes 0 0 79 122
|
||||||
|
@ -24,7 +24,3 @@ drop table t2;
|
|||||||
drop table t3;
|
drop table t3;
|
||||||
create table t1(a int, b int, unique(b));
|
create table t1(a int, b int, unique(b));
|
||||||
insert into t1 values(1,10);
|
insert into t1 values(1,10);
|
||||||
load data infile '../../std_data/rpl_loaddata.dat' into table t1;
|
|
||||||
show status like 'slave_running';
|
|
||||||
Variable_name Value
|
|
||||||
Slave_running OFF
|
|
||||||
|
@ -92,7 +92,7 @@ slave-bin.000002 4 Query 1 110 use `test`; create table t1 (n int)
|
|||||||
slave-bin.000002 62 Query 1 168 use `test`; insert into t1 values (1)
|
slave-bin.000002 62 Query 1 168 use `test`; insert into t1 values (1)
|
||||||
slave-bin.000002 122 Query 1 228 use `test`; drop table t1
|
slave-bin.000002 122 Query 1 228 use `test`; drop table t1
|
||||||
show slave status;
|
show slave status;
|
||||||
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Replicate_do_table Replicate_ignore_table Replicate_wild_do_table Replicate_wild_ignore_table Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
||||||
127.0.0.1 root MASTER_PORT 1 master-bin.000002 276 slave-relay-bin.000002 1531 master-bin.000002 Yes Yes 0 0 276 1535
|
127.0.0.1 root MASTER_PORT 1 master-bin.000002 276 slave-relay-bin.000002 1531 master-bin.000002 Yes Yes 0 0 276 1535
|
||||||
show binlog events in 'slave-bin.000005' from 4;
|
show binlog events in 'slave-bin.000005' from 4;
|
||||||
ERROR HY000: Error when executing command SHOW BINLOG EVENTS: Could not find target log
|
ERROR HY000: Error when executing command SHOW BINLOG EVENTS: Could not find target log
|
||||||
|
@ -8,26 +8,26 @@ show master status;
|
|||||||
File Position Binlog_do_db Binlog_ignore_db
|
File Position Binlog_do_db Binlog_ignore_db
|
||||||
master-bin.000001 79
|
master-bin.000001 79
|
||||||
show slave status;
|
show slave status;
|
||||||
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Replicate_do_table Replicate_ignore_table Replicate_wild_do_table Replicate_wild_ignore_table Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
||||||
127.0.0.1 root MASTER_PORT 1 master-bin.000001 79 slave-relay-bin.000002 123 master-bin.000001 Yes Yes 0 0 79 127
|
127.0.0.1 root MASTER_PORT 1 master-bin.000001 79 slave-relay-bin.000002 123 master-bin.000001 Yes Yes 0 0 79 127
|
||||||
stop slave;
|
stop slave;
|
||||||
change master to master_log_pos=73;
|
change master to master_log_pos=73;
|
||||||
start slave;
|
start slave;
|
||||||
stop slave;
|
stop slave;
|
||||||
change master to master_log_pos=73;
|
change master to master_log_pos=73;
|
||||||
show slave status;
|
show slave status;
|
||||||
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Replicate_do_table Replicate_ignore_table Replicate_wild_do_table Replicate_wild_ignore_table Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
||||||
127.0.0.1 root MASTER_PORT 1 master-bin.000001 73 slave-relay-bin.000001 4 master-bin.000001 No No 0 0 73 4
|
127.0.0.1 root MASTER_PORT 1 master-bin.000001 73 slave-relay-bin.000001 4 master-bin.000001 No No 0 0 73 4
|
||||||
start slave;
|
start slave;
|
||||||
show slave status;
|
show slave status;
|
||||||
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Replicate_do_table Replicate_ignore_table Replicate_wild_do_table Replicate_wild_ignore_table Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
||||||
127.0.0.1 root MASTER_PORT 1 master-bin.000001 73 slave-relay-bin.000001 4 master-bin.000001 No Yes 0 0 73 4
|
127.0.0.1 root MASTER_PORT 1 master-bin.000001 73 slave-relay-bin.000001 4 master-bin.000001 No Yes 0 0 73 4
|
||||||
stop slave;
|
stop slave;
|
||||||
change master to master_log_pos=173;
|
change master to master_log_pos=173;
|
||||||
start slave;
|
start slave;
|
||||||
show slave status;
|
show slave status;
|
||||||
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Replicate_do_table Replicate_ignore_table Replicate_wild_do_table Replicate_wild_ignore_table Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
||||||
127.0.0.1 root MASTER_PORT 1 master-bin.000001 173 slave-relay-bin.000001 4 master-bin.000001 No Yes 0 0 173 4
|
127.0.0.1 root MASTER_PORT 1 master-bin.000001 173 slave-relay-bin.000001 4 master-bin.000001 No Yes 0 0 173 4
|
||||||
show master status;
|
show master status;
|
||||||
File Position Binlog_do_db Binlog_ignore_db
|
File Position Binlog_do_db Binlog_ignore_db
|
||||||
master-bin.000001 79
|
master-bin.000001 79
|
||||||
|
@ -5,7 +5,7 @@ reset slave;
|
|||||||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||||
start slave;
|
start slave;
|
||||||
SHOW SLAVE STATUS;
|
SHOW SLAVE STATUS;
|
||||||
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Replicate_do_table Replicate_ignore_table Replicate_wild_do_table Replicate_wild_ignore_table Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
||||||
SHOW SLAVE HOSTS;
|
SHOW SLAVE HOSTS;
|
||||||
Server_id Host Port Rpl_recovery_rank Master_id
|
Server_id Host Port Rpl_recovery_rank Master_id
|
||||||
2 127.0.0.1 SLAVE_PORT 2 1
|
2 127.0.0.1 SLAVE_PORT 2 1
|
||||||
|
@ -26,3 +26,6 @@ n
|
|||||||
select * from t11;
|
select * from t11;
|
||||||
ERROR 42S02: Table 'test.t11' doesn't exist
|
ERROR 42S02: Table 'test.t11' doesn't exist
|
||||||
drop table if exists t1,t2,t11;
|
drop table if exists t1,t2,t11;
|
||||||
|
show slave status;
|
||||||
|
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Replicate_do_table Replicate_ignore_table Replicate_wild_do_table Replicate_wild_ignore_table Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
||||||
|
127.0.0.1 root MASTER_PORT 1 master-bin.000001 1281 slave-relay-bin.000002 1325 master-bin.000001 Yes Yes test.t1 0 0 1281 1329
|
||||||
|
@ -15,8 +15,8 @@ insert into temp_table values ("testing temporary tables");
|
|||||||
create table t1 (s text);
|
create table t1 (s text);
|
||||||
insert into t1 values('Could not break slave'),('Tried hard');
|
insert into t1 values('Could not break slave'),('Tried hard');
|
||||||
show slave status;
|
show slave status;
|
||||||
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Replicate_do_table Replicate_ignore_table Replicate_wild_do_table Replicate_wild_ignore_table Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
||||||
127.0.0.1 root MASTER_PORT 60 master-bin.000001 417 slave-relay-bin.000001 461 master-bin.000001 Yes Yes 0 0 417 461
|
127.0.0.1 root MASTER_PORT 60 master-bin.000001 417 slave-relay-bin.000001 461 master-bin.000001 Yes Yes 0 0 417 461
|
||||||
select * from t1;
|
select * from t1;
|
||||||
s
|
s
|
||||||
Could not break slave
|
Could not break slave
|
||||||
@ -56,8 +56,8 @@ Log_name
|
|||||||
master-bin.000003
|
master-bin.000003
|
||||||
insert into t2 values (65);
|
insert into t2 values (65);
|
||||||
show slave status;
|
show slave status;
|
||||||
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Replicate_do_table Replicate_ignore_table Replicate_wild_do_table Replicate_wild_ignore_table Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
||||||
127.0.0.1 root MASTER_PORT 60 master-bin.000003 290 slave-relay-bin.000001 1088 master-bin.000003 Yes Yes 0 0 290 1088
|
127.0.0.1 root MASTER_PORT 60 master-bin.000003 290 slave-relay-bin.000001 1088 master-bin.000003 Yes Yes 0 0 290 1088
|
||||||
select * from t2;
|
select * from t2;
|
||||||
m
|
m
|
||||||
34
|
34
|
||||||
@ -82,8 +82,8 @@ select * from t4;
|
|||||||
a
|
a
|
||||||
testing temporary tables part 2
|
testing temporary tables part 2
|
||||||
show slave status;
|
show slave status;
|
||||||
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Replicate_do_table Replicate_ignore_table Replicate_wild_do_table Replicate_wild_ignore_table Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
||||||
127.0.0.1 root MASTER_PORT 60 master-bin.000006 838 slave-relay-bin.000001 8067 master-bin.000006 Yes Yes 0 0 838 8067
|
127.0.0.1 root MASTER_PORT 60 master-bin.000006 838 slave-relay-bin.000001 8067 master-bin.000006 Yes Yes 0 0 838 8067
|
||||||
lock tables t3 read;
|
lock tables t3 read;
|
||||||
select count(*) from t3 where n >= 4;
|
select count(*) from t3 where n >= 4;
|
||||||
count(*)
|
count(*)
|
||||||
|
@ -184,6 +184,8 @@ set GLOBAL table_type=DEFAULT;
|
|||||||
ERROR 42000: Variable 'table_type' doesn't have a default value
|
ERROR 42000: Variable 'table_type' doesn't have a default value
|
||||||
set character_set_client=UNKNOWN_CHARACTER_SET;
|
set character_set_client=UNKNOWN_CHARACTER_SET;
|
||||||
ERROR 42000: Unknown character set: 'UNKNOWN_CHARACTER_SET'
|
ERROR 42000: Unknown character set: 'UNKNOWN_CHARACTER_SET'
|
||||||
|
set collation_connection=UNKNOWN_COLLATION;
|
||||||
|
ERROR HY000: Unknown collation: 'UNKNOWN_COLLATION'
|
||||||
set global autocommit=1;
|
set global autocommit=1;
|
||||||
ERROR HY000: Variable 'autocommit' is a LOCAL variable and can't be used with SET GLOBAL
|
ERROR HY000: Variable 'autocommit' is a LOCAL variable and can't be used with SET GLOBAL
|
||||||
select @@global.timestamp;
|
select @@global.timestamp;
|
||||||
|
@ -106,3 +106,36 @@ select last_insert_id();
|
|||||||
|
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
|
create table t1(a int auto_increment,b int null,primary key(a));
|
||||||
|
SET SQL_MODE=NO_AUTO_VALUE_ON_ZERO;
|
||||||
|
insert into t1(a,b)values(NULL,1);
|
||||||
|
insert into t1(a,b)values(200,2);
|
||||||
|
insert into t1(a,b)values(0,3);
|
||||||
|
insert into t1(b)values(4);
|
||||||
|
insert into t1(b)values(5);
|
||||||
|
insert into t1(b)values(6);
|
||||||
|
insert into t1(b)values(7);
|
||||||
|
select * from t1 order by b;
|
||||||
|
delete from t1 where a=0;
|
||||||
|
update t1 set a=0 where b=5;
|
||||||
|
select * from t1 order by b;
|
||||||
|
delete from t1 where a=0;
|
||||||
|
update t1 set a=NULL where b=6;
|
||||||
|
update t1 set a=300 where b=7;
|
||||||
|
SET SQL_MODE='';
|
||||||
|
insert into t1(a,b)values(NULL,8);
|
||||||
|
insert into t1(a,b)values(400,9);
|
||||||
|
insert into t1(a,b)values(0,10);
|
||||||
|
insert into t1(b)values(11);
|
||||||
|
insert into t1(b)values(12);
|
||||||
|
insert into t1(b)values(13);
|
||||||
|
insert into t1(b)values(14);
|
||||||
|
select * from t1 order by b;
|
||||||
|
delete from t1 where a=0;
|
||||||
|
update t1 set a=0 where b=12;
|
||||||
|
select * from t1 order by b;
|
||||||
|
delete from t1 where a=0;
|
||||||
|
update t1 set a=NULL where b=13;
|
||||||
|
update t1 set a=500 where b=14;
|
||||||
|
select * from t1 order by b;
|
||||||
|
drop table t1;
|
||||||
|
@ -12,6 +12,11 @@ CREATE TABLE t2 (
|
|||||||
latin1_f CHAR(32) CHARACTER SET latin1 COLLATE koi8r_general_ci NOT NULL
|
latin1_f CHAR(32) CHARACTER SET latin1 COLLATE koi8r_general_ci NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
--error 1271
|
||||||
|
CREATE TABLE t2 (
|
||||||
|
latin1_f CHAR(32) CHARACTER SET latin1 COLLATE some_non_existing_col NOT NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO t1 (latin1_f) VALUES (_latin1'A');
|
INSERT INTO t1 (latin1_f) VALUES (_latin1'A');
|
||||||
INSERT INTO t1 (latin1_f) VALUES (_latin1'a');
|
INSERT INTO t1 (latin1_f) VALUES (_latin1'a');
|
||||||
@ -93,7 +98,7 @@ SELECT DISTINCT latin1_f COLLATE latin1_swedish_ci FROM t1;
|
|||||||
SELECT DISTINCT latin1_f COLLATE latin1_german2_ci FROM t1;
|
SELECT DISTINCT latin1_f COLLATE latin1_german2_ci FROM t1;
|
||||||
SELECT DISTINCT latin1_f COLLATE latin1_general_ci FROM t1;
|
SELECT DISTINCT latin1_f COLLATE latin1_general_ci FROM t1;
|
||||||
SELECT DISTINCT latin1_f COLLATE latin1_bin FROM t1;
|
SELECT DISTINCT latin1_f COLLATE latin1_bin FROM t1;
|
||||||
--error 1251
|
--error 1271
|
||||||
SELECT DISTINCT latin1_f COLLATE koi8r FROM t1;
|
SELECT DISTINCT latin1_f COLLATE koi8r FROM t1;
|
||||||
|
|
||||||
|
|
||||||
@ -143,3 +148,11 @@ SELECT charset('a'),collation('a'),coercibility('a'),'a'='A';
|
|||||||
SET CHARACTER SET 'DEFAULT';
|
SET CHARACTER SET 'DEFAULT';
|
||||||
|
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
|
||||||
|
CREATE TABLE t1
|
||||||
|
(s1 CHAR(5) COLLATE latin1_german1_ci,
|
||||||
|
s2 CHAR(5) COLLATE latin1_swedish_ci);
|
||||||
|
--error 1265
|
||||||
|
SELECT * FROM t1 WHERE s1 = s2;
|
||||||
|
DROP TABLE t1;
|
||||||
|
|
30
mysql-test/t/grant2.test
Normal file
30
mysql-test/t/grant2.test
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
#
|
||||||
|
# GRANT tests that require several connections
|
||||||
|
# (usually it's GRANT, reconnect as another user, try something)
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# wild_compare fun
|
||||||
|
#
|
||||||
|
|
||||||
|
delete from mysql.user where user like 'mysqltest\_%';
|
||||||
|
delete from mysql.db where user like 'mysqltest\_%';
|
||||||
|
flush privileges;
|
||||||
|
grant all privileges on `my\_%`.* to mysqltest_1@localhost with grant option;
|
||||||
|
connect (user1,localhost,mysqltest_1,,);
|
||||||
|
connection user1;
|
||||||
|
select current_user();
|
||||||
|
grant all privileges on `my\_1`.* to mysqltest_2@localhost with grant option;
|
||||||
|
--error 1044
|
||||||
|
grant all privileges on `my_%`.* to mysqltest_3@localhost with grant option;
|
||||||
|
disconnect user1;
|
||||||
|
connection default;
|
||||||
|
show grants for mysqltest_1@localhost;
|
||||||
|
show grants for mysqltest_2@localhost;
|
||||||
|
--error 1141
|
||||||
|
show grants for mysqltest_3@localhost;
|
||||||
|
delete from mysql.user where user like 'mysqltest\_%';
|
||||||
|
delete from mysql.db where user like 'mysqltest\_%';
|
||||||
|
flush privileges;
|
||||||
|
|
1
mysql-test/t/rpl_insert_id-slave.opt
Normal file
1
mysql-test/t/rpl_insert_id-slave.opt
Normal file
@ -0,0 +1 @@
|
|||||||
|
--innodb
|
@ -37,14 +37,21 @@ connection slave;
|
|||||||
sync_with_master;
|
sync_with_master;
|
||||||
insert into t1 values(1,10);
|
insert into t1 values(1,10);
|
||||||
|
|
||||||
connection master;
|
|
||||||
load data infile '../../std_data/rpl_loaddata.dat' into table t1;
|
|
||||||
|
|
||||||
save_master_pos;
|
# NOTE UNTIL MERGE 4.0 INTO 4.1
|
||||||
connection slave;
|
# Below we generate an error, but this error shows up in SHOW SLAVE STATUS
|
||||||
# don't sync_with_master because the slave SQL thread should be stopped because
|
# in the next test. In 4.0 this is fixed (RESET SLAVE resets the error), but it
|
||||||
# of the error so MASTER_POS_WAIT() will not return; just sleep and hope the
|
# has not been merged into 4.1 yet. So for the moment, I comment all lines
|
||||||
# slave SQL thread will have had time to stop.
|
# below, to not generate the error, so that the test suite passes.
|
||||||
|
# When you do the 4.0 -> 4.1 merge, please remove this note and re-enable the
|
||||||
|
# error generation, by deleting the '#' characters below, and update the result.
|
||||||
|
# The changeset to merge in 4.1 is
|
||||||
|
# ChangeSet@1.1455.34.1, 2003-06-10 23:29:49+02:00, guilhem@mysql.com
|
||||||
|
|
||||||
sleep 1;
|
#connection master;
|
||||||
show status like 'slave_running';
|
#load data infile '../../std_data/rpl_loaddata.dat' into table t1;
|
||||||
|
|
||||||
|
#save_master_pos;
|
||||||
|
#connection slave;
|
||||||
|
# The SQL slave thread should be stopped now.
|
||||||
|
#wait_for_slave_to_stop;
|
||||||
|
@ -31,3 +31,7 @@ drop table if exists t1,t2,t11;
|
|||||||
save_master_pos;
|
save_master_pos;
|
||||||
connection slave;
|
connection slave;
|
||||||
sync_with_master;
|
sync_with_master;
|
||||||
|
# show slave status, just to see of it prints replicate-do-table
|
||||||
|
--replace_result $MASTER_MYPORT MASTER_PORT
|
||||||
|
show slave status;
|
||||||
|
|
||||||
|
@ -120,6 +120,8 @@ set SESSION query_cache_size=10000;
|
|||||||
set GLOBAL table_type=DEFAULT;
|
set GLOBAL table_type=DEFAULT;
|
||||||
--error 1115
|
--error 1115
|
||||||
set character_set_client=UNKNOWN_CHARACTER_SET;
|
set character_set_client=UNKNOWN_CHARACTER_SET;
|
||||||
|
--error 1271
|
||||||
|
set collation_connection=UNKNOWN_COLLATION;
|
||||||
--error 1228
|
--error 1228
|
||||||
set global autocommit=1;
|
set global autocommit=1;
|
||||||
--error 1228
|
--error 1228
|
||||||
|
@ -23,11 +23,12 @@
|
|||||||
|
|
||||||
char wild_many='*';
|
char wild_many='*';
|
||||||
char wild_one='?';
|
char wild_one='?';
|
||||||
char wild_prefix=0;
|
char wild_prefix=0; /* QQ this can potentially cause a SIGSEGV */
|
||||||
|
|
||||||
int wild_compare(register const char *str, register const char *wildstr)
|
int wild_compare(register const char *str, register const char *wildstr,
|
||||||
|
pbool str_is_pattern)
|
||||||
{
|
{
|
||||||
reg3 int flag;
|
char cmp;
|
||||||
DBUG_ENTER("wild_compare");
|
DBUG_ENTER("wild_compare");
|
||||||
|
|
||||||
while (*wildstr)
|
while (*wildstr)
|
||||||
@ -35,33 +36,55 @@ int wild_compare(register const char *str, register const char *wildstr)
|
|||||||
while (*wildstr && *wildstr != wild_many && *wildstr != wild_one)
|
while (*wildstr && *wildstr != wild_many && *wildstr != wild_one)
|
||||||
{
|
{
|
||||||
if (*wildstr == wild_prefix && wildstr[1])
|
if (*wildstr == wild_prefix && wildstr[1])
|
||||||
|
{
|
||||||
wildstr++;
|
wildstr++;
|
||||||
if (*wildstr++ != *str++) DBUG_RETURN(1);
|
if (str_is_pattern && *str++ != wild_prefix)
|
||||||
|
DBUG_RETURN(1);
|
||||||
|
}
|
||||||
|
if (*wildstr++ != *str++)
|
||||||
|
DBUG_RETURN(1);
|
||||||
}
|
}
|
||||||
if (! *wildstr ) DBUG_RETURN (*str != 0);
|
if (! *wildstr )
|
||||||
|
DBUG_RETURN(*str != 0);
|
||||||
if (*wildstr++ == wild_one)
|
if (*wildstr++ == wild_one)
|
||||||
{
|
{
|
||||||
if (! *str++) DBUG_RETURN (1); /* One char; skipp */
|
if (! *str || (str_is_pattern && *str == wild_many))
|
||||||
|
DBUG_RETURN(1); /* One char; skipp */
|
||||||
|
if (*str++ == wild_prefix && str_is_pattern && *str)
|
||||||
|
str++;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{ /* Found '*' */
|
{ /* Found '*' */
|
||||||
if (!*wildstr) DBUG_RETURN(0); /* '*' as last char: OK */
|
while (str_is_pattern && *str == wild_many)
|
||||||
flag=(*wildstr != wild_many && *wildstr != wild_one);
|
str++;
|
||||||
do
|
for (; *wildstr == wild_many || *wildstr == wild_one; wildstr++)
|
||||||
|
if (*wildstr == wild_many)
|
||||||
|
{
|
||||||
|
while (str_is_pattern && *str == wild_many)
|
||||||
|
str++;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (str_is_pattern && *str == wild_prefix && str[1])
|
||||||
|
str+=2;
|
||||||
|
else if (! *str++)
|
||||||
|
DBUG_RETURN (1);
|
||||||
|
}
|
||||||
|
if (!*wildstr)
|
||||||
|
DBUG_RETURN(0); /* '*' as last char: OK */
|
||||||
|
if ((cmp= *wildstr) == wild_prefix && wildstr[1] && !str_is_pattern)
|
||||||
|
cmp=wildstr[1];
|
||||||
|
for(;;str++)
|
||||||
{
|
{
|
||||||
if (flag)
|
while (*str && *str != cmp)
|
||||||
{
|
str++;
|
||||||
char cmp;
|
if (!*str)
|
||||||
if ((cmp= *wildstr) == wild_prefix && wildstr[1])
|
DBUG_RETURN (1);
|
||||||
cmp=wildstr[1];
|
if (wild_compare(str,wildstr,str_is_pattern) == 0)
|
||||||
while (*str && *str != cmp)
|
DBUG_RETURN (0);
|
||||||
str++;
|
}
|
||||||
if (!*str) DBUG_RETURN (1);
|
|
||||||
}
|
|
||||||
if (wild_compare(str,wildstr) == 0) DBUG_RETURN (0);
|
|
||||||
} while (*str++ && wildstr[0] != wild_many);
|
|
||||||
DBUG_RETURN(1);
|
DBUG_RETURN(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DBUG_RETURN (*str != '\0');
|
DBUG_RETURN (*str != 0);
|
||||||
} /* wild_compare */
|
} /* wild_compare */
|
||||||
|
@ -99,7 +99,7 @@ int wf_test(register WF_PACK *wf_pack, register const char *name)
|
|||||||
|
|
||||||
not_pos=wf_pack->not_pos;
|
not_pos=wf_pack->not_pos;
|
||||||
for (i=0 ; i < not_pos; i++)
|
for (i=0 ; i < not_pos; i++)
|
||||||
if (wild_compare(name,wf_pack->wild[i]) == 0)
|
if (wild_compare(name,wf_pack->wild[i],0) == 0)
|
||||||
goto found;
|
goto found;
|
||||||
if (i)
|
if (i)
|
||||||
DBUG_RETURN(1); /* No-match */
|
DBUG_RETURN(1); /* No-match */
|
||||||
@ -108,7 +108,7 @@ found:
|
|||||||
/* Test that it isn't in not-list */
|
/* Test that it isn't in not-list */
|
||||||
|
|
||||||
for (i=not_pos ; i < wf_pack->wilds; i++)
|
for (i=not_pos ; i < wf_pack->wilds; i++)
|
||||||
if (wild_compare(name,wf_pack->wild[i]) == 0)
|
if (wild_compare(name,wf_pack->wild[i],0) == 0)
|
||||||
DBUG_RETURN(1);
|
DBUG_RETURN(1);
|
||||||
DBUG_RETURN(0);
|
DBUG_RETURN(0);
|
||||||
} /* wf_test */
|
} /* wf_test */
|
||||||
|
@ -38,7 +38,28 @@
|
|||||||
#include <my_global.h>
|
#include <my_global.h>
|
||||||
|
|
||||||
#include "mysql.h"
|
#include "mysql.h"
|
||||||
|
|
||||||
|
#ifdef EMBEDDED_LIBRARY
|
||||||
|
|
||||||
|
#undef MYSQL_SERVER
|
||||||
|
|
||||||
|
#ifndef MYSQL_CLIENT
|
||||||
|
#define MYSQL_CLIENT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define CLI_MYSQL_REAL_CONNECT cli_mysql_real_connect
|
||||||
|
#define CLI_MYSQL_CLOSE cli_mysql_close
|
||||||
|
|
||||||
|
#undef net_flush
|
||||||
|
my_bool net_flush(NET *net);
|
||||||
|
|
||||||
|
#else /*EMBEDDED_LIBRARY*/
|
||||||
|
#define CLI_MYSQL_REAL_CONNECT mysql_real_connect
|
||||||
|
#define CLI_MYSQL_CLOSE mysql_close
|
||||||
|
#endif /*EMBEDDED_LIBRARY*/
|
||||||
|
|
||||||
#if !defined(MYSQL_SERVER) && (defined(__WIN__) || defined(_WIN32) || defined(_WIN64))
|
#if !defined(MYSQL_SERVER) && (defined(__WIN__) || defined(_WIN32) || defined(_WIN64))
|
||||||
|
|
||||||
#include <winsock.h>
|
#include <winsock.h>
|
||||||
#include <odbcinst.h>
|
#include <odbcinst.h>
|
||||||
#endif /* !defined(MYSQL_SERVER) && (defined(__WIN__) ... */
|
#endif /* !defined(MYSQL_SERVER) && (defined(__WIN__) ... */
|
||||||
@ -526,6 +547,10 @@ net_safe_read(MYSQL *mysql)
|
|||||||
{
|
{
|
||||||
DBUG_PRINT("error",("Wrong connection or packet. fd: %s len: %d",
|
DBUG_PRINT("error",("Wrong connection or packet. fd: %s len: %d",
|
||||||
vio_description(net->vio),len));
|
vio_description(net->vio),len));
|
||||||
|
#ifdef MYSQL_SERVER
|
||||||
|
if (socket_errno == SOCKET_EINTR)
|
||||||
|
return (packet_error);
|
||||||
|
#endif /*MYSQL_SERVER*/
|
||||||
end_server(mysql);
|
end_server(mysql);
|
||||||
net->last_errno=(net->last_errno == ER_NET_PACKET_TOO_LARGE ?
|
net->last_errno=(net->last_errno == ER_NET_PACKET_TOO_LARGE ?
|
||||||
CR_NET_PACKET_TOO_LARGE:
|
CR_NET_PACKET_TOO_LARGE:
|
||||||
@ -572,8 +597,8 @@ void free_rows(MYSQL_DATA *cur)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
my_bool
|
static my_bool
|
||||||
advanced_command(MYSQL *mysql, enum enum_server_command command,
|
cli_advanced_command(MYSQL *mysql, enum enum_server_command command,
|
||||||
const char *header, ulong header_length,
|
const char *header, ulong header_length,
|
||||||
const char *arg, ulong arg_length, my_bool skip_check)
|
const char *arg, ulong arg_length, my_bool skip_check)
|
||||||
{
|
{
|
||||||
@ -635,13 +660,6 @@ end:
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
my_bool
|
|
||||||
simple_command(MYSQL *mysql,enum enum_server_command command, const char *arg,
|
|
||||||
ulong length, my_bool skip_check)
|
|
||||||
{
|
|
||||||
return advanced_command(mysql, command, NullS, 0, arg, length, skip_check);
|
|
||||||
}
|
|
||||||
|
|
||||||
void free_old_query(MYSQL *mysql)
|
void free_old_query(MYSQL *mysql)
|
||||||
{
|
{
|
||||||
DBUG_ENTER("free_old_query");
|
DBUG_ENTER("free_old_query");
|
||||||
@ -759,8 +777,8 @@ static int add_init_command(struct st_mysql_options *options, const char *cmd)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void mysql_read_default_options(struct st_mysql_options *options,
|
void mysql_read_default_options(struct st_mysql_options *options,
|
||||||
const char *filename,const char *group)
|
const char *filename,const char *group)
|
||||||
{
|
{
|
||||||
int argc;
|
int argc;
|
||||||
char *argv_buff[1],**argv;
|
char *argv_buff[1],**argv;
|
||||||
@ -951,7 +969,7 @@ static void mysql_read_default_options(struct st_mysql_options *options,
|
|||||||
else the lengths are calculated from the offset between pointers.
|
else the lengths are calculated from the offset between pointers.
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
void fetch_lengths(ulong *to, MYSQL_ROW column, uint field_count)
|
static void cli_fetch_lengths(ulong *to, MYSQL_ROW column, uint field_count)
|
||||||
{
|
{
|
||||||
ulong *prev_length;
|
ulong *prev_length;
|
||||||
byte *start=0;
|
byte *start=0;
|
||||||
@ -972,7 +990,6 @@ void fetch_lengths(ulong *to, MYSQL_ROW column, uint field_count)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
Change field rows to field structs
|
Change field rows to field structs
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
@ -1000,7 +1017,7 @@ unpack_fields(MYSQL_DATA *data,MEM_ROOT *alloc,uint fields,
|
|||||||
for (row=data->data; row ; row = row->next,field++)
|
for (row=data->data; row ; row = row->next,field++)
|
||||||
{
|
{
|
||||||
uchar *pos;
|
uchar *pos;
|
||||||
fetch_lengths(&lengths[0], row->data, default_value ? 8 : 7);
|
cli_fetch_lengths(&lengths[0], row->data, default_value ? 8 : 7);
|
||||||
field->catalog = strdup_root(alloc,(char*) row->data[0]);
|
field->catalog = strdup_root(alloc,(char*) row->data[0]);
|
||||||
field->db = strdup_root(alloc,(char*) row->data[1]);
|
field->db = strdup_root(alloc,(char*) row->data[1]);
|
||||||
field->table = strdup_root(alloc,(char*) row->data[2]);
|
field->table = strdup_root(alloc,(char*) row->data[2]);
|
||||||
@ -1041,7 +1058,7 @@ unpack_fields(MYSQL_DATA *data,MEM_ROOT *alloc,uint fields,
|
|||||||
/* old protocol, for backward compatibility */
|
/* old protocol, for backward compatibility */
|
||||||
for (row=data->data; row ; row = row->next,field++)
|
for (row=data->data; row ; row = row->next,field++)
|
||||||
{
|
{
|
||||||
fetch_lengths(&lengths[0], row->data, default_value ? 6 : 5);
|
cli_fetch_lengths(&lengths[0], row->data, default_value ? 6 : 5);
|
||||||
field->org_table= field->table= strdup_root(alloc,(char*) row->data[0]);
|
field->org_table= field->table= strdup_root(alloc,(char*) row->data[0]);
|
||||||
field->name= strdup_root(alloc,(char*) row->data[1]);
|
field->name= strdup_root(alloc,(char*) row->data[1]);
|
||||||
field->length= (uint) uint3korr(row->data[2]);
|
field->length= (uint) uint3korr(row->data[2]);
|
||||||
@ -1278,6 +1295,7 @@ mysql_init(MYSQL *mysql)
|
|||||||
#ifdef HAVE_SMEM
|
#ifdef HAVE_SMEM
|
||||||
mysql->options.shared_memory_base_name= (char*) def_shared_memory_base_name;
|
mysql->options.shared_memory_base_name= (char*) def_shared_memory_base_name;
|
||||||
#endif
|
#endif
|
||||||
|
mysql->options.methods_to_use= MYSQL_OPT_GUESS_CONNECTION;
|
||||||
return mysql;
|
return mysql;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1409,10 +1427,23 @@ error:
|
|||||||
before calling mysql_real_connect !
|
before calling mysql_real_connect !
|
||||||
*/
|
*/
|
||||||
|
|
||||||
MYSQL * STDCALL
|
static my_bool STDCALL cli_mysql_read_query_result(MYSQL *mysql);
|
||||||
mysql_real_connect(MYSQL *mysql,const char *host, const char *user,
|
static MYSQL_RES * STDCALL cli_mysql_store_result(MYSQL *mysql);
|
||||||
const char *passwd, const char *db,
|
static MYSQL_RES * STDCALL cli_mysql_use_result(MYSQL *mysql);
|
||||||
uint port, const char *unix_socket,ulong client_flag)
|
|
||||||
|
static MYSQL_METHODS client_methods=
|
||||||
|
{
|
||||||
|
cli_mysql_read_query_result,
|
||||||
|
cli_advanced_command,
|
||||||
|
cli_mysql_store_result,
|
||||||
|
cli_mysql_use_result,
|
||||||
|
cli_fetch_lengths
|
||||||
|
};
|
||||||
|
|
||||||
|
MYSQL * STDCALL
|
||||||
|
CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user,
|
||||||
|
const char *passwd, const char *db,
|
||||||
|
uint port, const char *unix_socket,ulong client_flag)
|
||||||
{
|
{
|
||||||
char buff[NAME_LEN+USERNAME_LENGTH+100],charset_name_buff[16];
|
char buff[NAME_LEN+USERNAME_LENGTH+100],charset_name_buff[16];
|
||||||
char *end,*host_info,*charset_name;
|
char *end,*host_info,*charset_name;
|
||||||
@ -1441,6 +1472,7 @@ mysql_real_connect(MYSQL *mysql,const char *host, const char *user,
|
|||||||
user ? user : "(Null)"));
|
user ? user : "(Null)"));
|
||||||
|
|
||||||
/* Don't give sigpipe errors if the client doesn't want them */
|
/* Don't give sigpipe errors if the client doesn't want them */
|
||||||
|
mysql->methods= &client_methods;
|
||||||
set_sigpipe(mysql);
|
set_sigpipe(mysql);
|
||||||
net->vio = 0; /* If something goes wrong */
|
net->vio = 0; /* If something goes wrong */
|
||||||
mysql->client_flag=0; /* For handshake */
|
mysql->client_flag=0; /* For handshake */
|
||||||
@ -2112,8 +2144,7 @@ static void mysql_close_free(MYSQL *mysql)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void STDCALL
|
void STDCALL CLI_MYSQL_CLOSE(MYSQL *mysql)
|
||||||
mysql_close(MYSQL *mysql)
|
|
||||||
{
|
{
|
||||||
DBUG_ENTER("mysql_close");
|
DBUG_ENTER("mysql_close");
|
||||||
if (mysql) /* Some simple safety */
|
if (mysql) /* Some simple safety */
|
||||||
@ -2165,8 +2196,7 @@ mysql_close(MYSQL *mysql)
|
|||||||
DBUG_VOID_RETURN;
|
DBUG_VOID_RETURN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static my_bool STDCALL cli_mysql_read_query_result(MYSQL *mysql)
|
||||||
my_bool STDCALL mysql_read_query_result(MYSQL *mysql)
|
|
||||||
{
|
{
|
||||||
uchar *pos;
|
uchar *pos;
|
||||||
ulong field_count;
|
ulong field_count;
|
||||||
@ -2283,8 +2313,7 @@ mysql_real_query(MYSQL *mysql, const char *query, ulong length)
|
|||||||
mysql_data_seek may be used.
|
mysql_data_seek may be used.
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
MYSQL_RES * STDCALL
|
static MYSQL_RES * STDCALL cli_mysql_store_result(MYSQL *mysql)
|
||||||
mysql_store_result(MYSQL *mysql)
|
|
||||||
{
|
{
|
||||||
MYSQL_RES *result;
|
MYSQL_RES *result;
|
||||||
DBUG_ENTER("mysql_store_result");
|
DBUG_ENTER("mysql_store_result");
|
||||||
@ -2310,6 +2339,7 @@ mysql_store_result(MYSQL *mysql)
|
|||||||
strmov(mysql->net.last_error, ER(mysql->net.last_errno));
|
strmov(mysql->net.last_error, ER(mysql->net.last_errno));
|
||||||
DBUG_RETURN(0);
|
DBUG_RETURN(0);
|
||||||
}
|
}
|
||||||
|
result->methods= mysql->methods;
|
||||||
result->eof=1; /* Marker for buffered */
|
result->eof=1; /* Marker for buffered */
|
||||||
result->lengths=(ulong*) (result+1);
|
result->lengths=(ulong*) (result+1);
|
||||||
if (!(result->data=read_rows(mysql,mysql->fields,mysql->field_count)))
|
if (!(result->data=read_rows(mysql,mysql->fields,mysql->field_count)))
|
||||||
@ -2339,8 +2369,7 @@ mysql_store_result(MYSQL *mysql)
|
|||||||
have to wait for the client (and will not wait more than 30 sec/packet).
|
have to wait for the client (and will not wait more than 30 sec/packet).
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
MYSQL_RES * STDCALL
|
static MYSQL_RES * STDCALL cli_mysql_use_result(MYSQL *mysql)
|
||||||
mysql_use_result(MYSQL *mysql)
|
|
||||||
{
|
{
|
||||||
MYSQL_RES *result;
|
MYSQL_RES *result;
|
||||||
DBUG_ENTER("mysql_use_result");
|
DBUG_ENTER("mysql_use_result");
|
||||||
@ -2361,6 +2390,7 @@ mysql_use_result(MYSQL *mysql)
|
|||||||
MYF(MY_WME | MY_ZEROFILL))))
|
MYF(MY_WME | MY_ZEROFILL))))
|
||||||
DBUG_RETURN(0);
|
DBUG_RETURN(0);
|
||||||
result->lengths=(ulong*) (result+1);
|
result->lengths=(ulong*) (result+1);
|
||||||
|
result->methods= mysql->methods;
|
||||||
if (!(result->row=(MYSQL_ROW)
|
if (!(result->row=(MYSQL_ROW)
|
||||||
my_malloc(sizeof(result->row[0])*(mysql->field_count+1), MYF(MY_WME))))
|
my_malloc(sizeof(result->row[0])*(mysql->field_count+1), MYF(MY_WME))))
|
||||||
{ /* Ptrs: to one row */
|
{ /* Ptrs: to one row */
|
||||||
@ -2477,6 +2507,10 @@ mysql_options(MYSQL *mysql,enum mysql_option option, const char *arg)
|
|||||||
my_free(mysql->options.shared_memory_base_name,MYF(MY_ALLOW_ZERO_PTR));
|
my_free(mysql->options.shared_memory_base_name,MYF(MY_ALLOW_ZERO_PTR));
|
||||||
mysql->options.shared_memory_base_name=my_strdup(arg,MYF(MY_WME));
|
mysql->options.shared_memory_base_name=my_strdup(arg,MYF(MY_WME));
|
||||||
#endif
|
#endif
|
||||||
|
case MYSQL_OPT_USE_REMOTE_CONNECTION:
|
||||||
|
case MYSQL_OPT_USE_EMBEDDED_CONNECTION:
|
||||||
|
case MYSQL_OPT_GUESS_CONNECTION:
|
||||||
|
mysql->options.methods_to_use= option;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
DBUG_RETURN(1);
|
DBUG_RETURN(1);
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
/* Copyright (C) 2000-2003 MySQL AB
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||||
|
|
||||||
#include <my_global.h>
|
#include <my_global.h>
|
||||||
#include <mysql_com.h>
|
#include <mysql_com.h>
|
||||||
#include <mysql.h>
|
#include <mysql.h>
|
||||||
@ -62,3 +78,30 @@ my_ulonglong net_field_length_ll(uchar **packet)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
char *
|
||||||
|
net_store_length(char *pkg, ulonglong length)
|
||||||
|
{
|
||||||
|
uchar *packet=(uchar*) pkg;
|
||||||
|
if (length < LL(251))
|
||||||
|
{
|
||||||
|
*packet=(uchar) length;
|
||||||
|
return (char*) packet+1;
|
||||||
|
}
|
||||||
|
/* 251 is reserved for NULL */
|
||||||
|
if (length < LL(65536))
|
||||||
|
{
|
||||||
|
*packet++=252;
|
||||||
|
int2store(packet,(uint) length);
|
||||||
|
return (char*) packet+2;
|
||||||
|
}
|
||||||
|
if (length < LL(16777216))
|
||||||
|
{
|
||||||
|
*packet++=253;
|
||||||
|
int3store(packet,(ulong) length);
|
||||||
|
return (char*) packet+3;
|
||||||
|
}
|
||||||
|
*packet++=254;
|
||||||
|
int8store(packet,length);
|
||||||
|
return (char*) packet+8;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -31,3 +31,4 @@
|
|||||||
#define mysql_rpl_probe(mysql) 0
|
#define mysql_rpl_probe(mysql) 0
|
||||||
#undef HAVE_SMEM
|
#undef HAVE_SMEM
|
||||||
#undef _CUSTOMCONFIG_
|
#undef _CUSTOMCONFIG_
|
||||||
|
|
||||||
|
@ -1132,7 +1132,7 @@ bool test_if_int(const char *str, int length, const char *int_end,
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define FIELDFLAG_DECIMAL 1
|
#define FIELDFLAG_DECIMAL 1
|
||||||
#define FIELDFLAG_BINARY 1 // Shares same flag
|
#define FIELDFLAG_BINARY 1 // Shares same flag
|
||||||
#define FIELDFLAG_NUMBER 2
|
#define FIELDFLAG_NUMBER 2
|
||||||
#define FIELDFLAG_ZEROFILL 4
|
#define FIELDFLAG_ZEROFILL 4
|
||||||
#define FIELDFLAG_PACK 120 // Bits used for packing
|
#define FIELDFLAG_PACK 120 // Bits used for packing
|
||||||
@ -1163,7 +1163,8 @@ bool test_if_int(const char *str, int length, const char *int_end,
|
|||||||
#define f_packtype(x) (((x) >> FIELDFLAG_PACK_SHIFT) & 15)
|
#define f_packtype(x) (((x) >> FIELDFLAG_PACK_SHIFT) & 15)
|
||||||
#define f_decimals(x) ((uint8) (((x) >> FIELDFLAG_DEC_SHIFT) & FIELDFLAG_MAX_DEC))
|
#define f_decimals(x) ((uint8) (((x) >> FIELDFLAG_DEC_SHIFT) & FIELDFLAG_MAX_DEC))
|
||||||
#define f_is_alpha(x) (!f_is_num(x))
|
#define f_is_alpha(x) (!f_is_num(x))
|
||||||
#define f_is_enum(x) ((x) & FIELDFLAG_INTERVAL)
|
#define f_is_binary(x) ((x) & FIELDFLAG_BINARY) // 4.0- compatibility
|
||||||
|
#define f_is_enum(x) ((x) & FIELDFLAG_INTERVAL)
|
||||||
#define f_is_bitfield(x) ((x) & FIELDFLAG_BITFIELD)
|
#define f_is_bitfield(x) ((x) & FIELDFLAG_BITFIELD)
|
||||||
#define f_is_blob(x) (((x) & (FIELDFLAG_BLOB | FIELDFLAG_NUMBER)) == FIELDFLAG_BLOB)
|
#define f_is_blob(x) (((x) & (FIELDFLAG_BLOB | FIELDFLAG_NUMBER)) == FIELDFLAG_BLOB)
|
||||||
#define f_is_geom(x) ((x) & FIELDFLAG_GEOM)
|
#define f_is_geom(x) ((x) & FIELDFLAG_GEOM)
|
||||||
|
@ -172,7 +172,10 @@ set_field_to_null_with_conversions(Field *field, bool no_conversions)
|
|||||||
}
|
}
|
||||||
field->reset();
|
field->reset();
|
||||||
if (field == field->table->next_number_field)
|
if (field == field->table->next_number_field)
|
||||||
|
{
|
||||||
|
field->table->auto_increment_field_not_null= false;
|
||||||
return 0; // field is set in handler.cc
|
return 0; // field is set in handler.cc
|
||||||
|
}
|
||||||
if (current_thd->count_cuted_fields)
|
if (current_thd->count_cuted_fields)
|
||||||
{
|
{
|
||||||
field->set_warning(MYSQL_ERROR::WARN_LEVEL_WARN,ER_WARN_NULL_TO_NOTNULL);
|
field->set_warning(MYSQL_ERROR::WARN_LEVEL_WARN,ER_WARN_NULL_TO_NOTNULL);
|
||||||
|
@ -697,11 +697,15 @@ void handler::update_auto_increment()
|
|||||||
longlong nr;
|
longlong nr;
|
||||||
THD *thd;
|
THD *thd;
|
||||||
DBUG_ENTER("update_auto_increment");
|
DBUG_ENTER("update_auto_increment");
|
||||||
if (table->next_number_field->val_int() != 0)
|
if (table->next_number_field->val_int() != 0 ||
|
||||||
|
table->auto_increment_field_not_null &&
|
||||||
|
current_thd->variables.sql_mode & MODE_NO_AUTO_VALUE_ON_ZERO)
|
||||||
{
|
{
|
||||||
|
table->auto_increment_field_not_null= false;
|
||||||
auto_increment_column_changed=0;
|
auto_increment_column_changed=0;
|
||||||
DBUG_VOID_RETURN;
|
DBUG_VOID_RETURN;
|
||||||
}
|
}
|
||||||
|
table->auto_increment_field_not_null= false;
|
||||||
thd=current_thd;
|
thd=current_thd;
|
||||||
if ((nr=thd->next_insert_id))
|
if ((nr=thd->next_insert_id))
|
||||||
thd->next_insert_id=0; // Clear after use
|
thd->next_insert_id=0; // Clear after use
|
||||||
|
@ -249,7 +249,8 @@ int Arg_comparator::set_compare_func(Item_bool_func2 *item, Item_result type)
|
|||||||
We must set cmp_charset here as we may be called from for an automatic
|
We must set cmp_charset here as we may be called from for an automatic
|
||||||
generated item, like in natural join
|
generated item, like in natural join
|
||||||
*/
|
*/
|
||||||
if (cmp_collation.set((*a)->collation, (*b)->collation))
|
if (cmp_collation.set((*a)->collation, (*b)->collation) ||
|
||||||
|
cmp_collation.derivation == DERIVATION_NONE)
|
||||||
{
|
{
|
||||||
my_coll_agg_error((*a)->collation, (*b)->collation, owner->func_name());
|
my_coll_agg_error((*a)->collation, (*b)->collation, owner->func_name());
|
||||||
return 1;
|
return 1;
|
||||||
|
@ -2206,7 +2206,13 @@ void Item_func_set_collation::fix_length_and_dec()
|
|||||||
set_collation= get_charset_by_csname(args[0]->charset()->csname,
|
set_collation= get_charset_by_csname(args[0]->charset()->csname,
|
||||||
MY_CS_BINSORT,MYF(0));
|
MY_CS_BINSORT,MYF(0));
|
||||||
else
|
else
|
||||||
set_collation= get_charset_by_name(colname,MYF(0));
|
{
|
||||||
|
if (!(set_collation= get_charset_by_name(colname,MYF(0))))
|
||||||
|
{
|
||||||
|
my_error(ER_UNKNOWN_COLLATION, MYF(0), colname);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!set_collation || !my_charset_same(args[0]->charset(),set_collation))
|
if (!set_collation || !my_charset_same(args[0]->charset(),set_collation))
|
||||||
{
|
{
|
||||||
|
@ -221,6 +221,7 @@ extern CHARSET_INFO *national_charset_info, *table_alias_charset;
|
|||||||
#define MODE_MYSQL323 32768
|
#define MODE_MYSQL323 32768
|
||||||
#define MODE_MYSQL40 65536
|
#define MODE_MYSQL40 65536
|
||||||
#define MODE_ANSI (MODE_MYSQL40*2)
|
#define MODE_ANSI (MODE_MYSQL40*2)
|
||||||
|
#define MODE_NO_AUTO_VALUE_ON_ZERO (MODE_ANSI*2)
|
||||||
|
|
||||||
#define RAID_BLOCK_SIZE 1024
|
#define RAID_BLOCK_SIZE 1024
|
||||||
|
|
||||||
|
@ -212,7 +212,7 @@ const char *sql_mode_names[] =
|
|||||||
"?", "ONLY_FULL_GROUP_BY", "NO_UNSIGNED_SUBTRACTION",
|
"?", "ONLY_FULL_GROUP_BY", "NO_UNSIGNED_SUBTRACTION",
|
||||||
"POSTGRESQL", "ORACLE", "MSSQL", "DB2", "SAPDB", "NO_KEY_OPTIONS",
|
"POSTGRESQL", "ORACLE", "MSSQL", "DB2", "SAPDB", "NO_KEY_OPTIONS",
|
||||||
"NO_TABLE_OPTIONS", "NO_FIELD_OPTIONS", "MYSQL323", "MYSQL40", "ANSI",
|
"NO_TABLE_OPTIONS", "NO_FIELD_OPTIONS", "MYSQL323", "MYSQL40", "ANSI",
|
||||||
NullS
|
"NO_AUTO_VALUE_ON_ZERO", NullS
|
||||||
};
|
};
|
||||||
TYPELIB sql_mode_typelib= { array_elements(sql_mode_names)-1,"",
|
TYPELIB sql_mode_typelib= { array_elements(sql_mode_names)-1,"",
|
||||||
sql_mode_names };
|
sql_mode_names };
|
||||||
@ -229,6 +229,7 @@ bool opt_large_files= sizeof(my_off_t) > 4;
|
|||||||
/*
|
/*
|
||||||
Used with --help for detailed option
|
Used with --help for detailed option
|
||||||
*/
|
*/
|
||||||
|
bool opt_help= 0;
|
||||||
bool opt_verbose= 0;
|
bool opt_verbose= 0;
|
||||||
|
|
||||||
arg_cmp_func Arg_comparator::comparator_matrix[4][2] =
|
arg_cmp_func Arg_comparator::comparator_matrix[4][2] =
|
||||||
@ -3642,8 +3643,9 @@ Disable with --skip-bdb (will save memory).",
|
|||||||
"Percentage of dirty pages allowed in bufferpool.", (gptr*) &srv_max_buf_pool_modified_pct,
|
"Percentage of dirty pages allowed in bufferpool.", (gptr*) &srv_max_buf_pool_modified_pct,
|
||||||
(gptr*) &srv_max_buf_pool_modified_pct, 0, GET_ULONG, REQUIRED_ARG, 90, 0, 100, 0, 0, 0},
|
(gptr*) &srv_max_buf_pool_modified_pct, 0, GET_ULONG, REQUIRED_ARG, 90, 0, 100, 0, 0, 0},
|
||||||
#endif /* End HAVE_INNOBASE_DB */
|
#endif /* End HAVE_INNOBASE_DB */
|
||||||
{"help", '?', "Display this help and exit.", 0, 0, 0, GET_NO_ARG, NO_ARG, 0,
|
{"help", '?', "Display this help and exit.",
|
||||||
0, 0, 0, 0, 0},
|
(gptr*) &opt_help, (gptr*) &opt_help, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0,
|
||||||
|
0, 0},
|
||||||
{"verbose", 'v', "Used with --help option for detailed help",
|
{"verbose", 'v', "Used with --help option for detailed help",
|
||||||
(gptr*) &opt_verbose, (gptr*) &opt_verbose, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0,
|
(gptr*) &opt_verbose, (gptr*) &opt_verbose, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0,
|
||||||
0, 0},
|
0, 0},
|
||||||
@ -4882,16 +4884,9 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
|
|||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#include <sslopt-case.h>
|
#include <sslopt-case.h>
|
||||||
case 'v':
|
|
||||||
usage();
|
|
||||||
exit(0);
|
|
||||||
case 'V':
|
case 'V':
|
||||||
print_version();
|
print_version();
|
||||||
exit(0);
|
exit(0);
|
||||||
case 'I':
|
|
||||||
case '?':
|
|
||||||
usage();
|
|
||||||
exit(0);
|
|
||||||
case 'T':
|
case 'T':
|
||||||
test_flags= argument ? (uint) atoi(argument) : 0;
|
test_flags= argument ? (uint) atoi(argument) : 0;
|
||||||
test_flags&= ~TEST_NO_THREADS;
|
test_flags&= ~TEST_NO_THREADS;
|
||||||
@ -5365,6 +5360,11 @@ static void get_options(int argc,char **argv)
|
|||||||
exit(ho_error);
|
exit(ho_error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (opt_help)
|
||||||
|
{
|
||||||
|
usage();
|
||||||
|
exit(0);
|
||||||
|
}
|
||||||
#if defined(HAVE_BROKEN_REALPATH)
|
#if defined(HAVE_BROKEN_REALPATH)
|
||||||
my_use_symdir=0;
|
my_use_symdir=0;
|
||||||
my_disable_symlinks=1;
|
my_disable_symlinks=1;
|
||||||
|
@ -30,7 +30,10 @@
|
|||||||
3 byte length & 1 byte package-number.
|
3 byte length & 1 byte package-number.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef EMBEDDED_LIBRARY
|
/*
|
||||||
|
HFTODO this must be hidden if we don't want client capabilities in
|
||||||
|
embedded library
|
||||||
|
*/
|
||||||
#ifdef __WIN__
|
#ifdef __WIN__
|
||||||
#include <winsock.h>
|
#include <winsock.h>
|
||||||
#endif
|
#endif
|
||||||
@ -46,6 +49,17 @@
|
|||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
|
#ifdef EMBEDDED_LIBRARY
|
||||||
|
|
||||||
|
#undef net_flush
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
my_bool net_flush(NET *net);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /*EMBEDDED_LIBRARY */
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The following handles the differences when this is linked between the
|
The following handles the differences when this is linked between the
|
||||||
client and the server.
|
client and the server.
|
||||||
@ -959,5 +973,3 @@ my_net_read(NET *net)
|
|||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* #ifndef EMBEDDED_LIBRARY */
|
|
||||||
|
|
||||||
|
@ -83,6 +83,7 @@ void send_error(THD *thd, uint sql_errno, const char *err)
|
|||||||
#ifdef EMBEDDED_LIBRARY
|
#ifdef EMBEDDED_LIBRARY
|
||||||
net->last_errno= sql_errno;
|
net->last_errno= sql_errno;
|
||||||
strmake(net->last_error, err, sizeof(net->last_error)-1);
|
strmake(net->last_error, err, sizeof(net->last_error)-1);
|
||||||
|
strmov(net->sqlstate, mysql_errno_to_sqlstate(sql_errno));
|
||||||
#else
|
#else
|
||||||
|
|
||||||
if (net->vio == 0)
|
if (net->vio == 0)
|
||||||
@ -230,12 +231,12 @@ net_printf(THD *thd, uint errcode, ...)
|
|||||||
#else
|
#else
|
||||||
net->last_errno= errcode;
|
net->last_errno= errcode;
|
||||||
strmake(net->last_error, text_pos, length);
|
strmake(net->last_error, text_pos, length);
|
||||||
|
strmake(net->sqlstate, mysql_errno_to_sqlstate(errcode), SQLSTATE_LENGTH);
|
||||||
#endif
|
#endif
|
||||||
thd->is_fatal_error=0; // Error message is given
|
thd->is_fatal_error=0; // Error message is given
|
||||||
DBUG_VOID_RETURN;
|
DBUG_VOID_RETURN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Return ok to the client.
|
Return ok to the client.
|
||||||
|
|
||||||
@ -350,40 +351,6 @@ send_eof(THD *thd, bool no_flush)
|
|||||||
}
|
}
|
||||||
#endif /* EMBEDDED_LIBRARY */
|
#endif /* EMBEDDED_LIBRARY */
|
||||||
|
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
Store a field length in logical packet
|
|
||||||
This is used to code the string length for normal protocol
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
char *
|
|
||||||
net_store_length(char *pkg, ulonglong length)
|
|
||||||
{
|
|
||||||
uchar *packet=(uchar*) pkg;
|
|
||||||
if (length < LL(251))
|
|
||||||
{
|
|
||||||
*packet=(uchar) length;
|
|
||||||
return (char*) packet+1;
|
|
||||||
}
|
|
||||||
/* 251 is reserved for NULL */
|
|
||||||
if (length < LL(65536))
|
|
||||||
{
|
|
||||||
*packet++=252;
|
|
||||||
int2store(packet,(uint) length);
|
|
||||||
return (char*) packet+2;
|
|
||||||
}
|
|
||||||
if (length < LL(16777216))
|
|
||||||
{
|
|
||||||
*packet++=253;
|
|
||||||
int3store(packet,(ulong) length);
|
|
||||||
return (char*) packet+3;
|
|
||||||
}
|
|
||||||
*packet++=254;
|
|
||||||
int8store(packet,length);
|
|
||||||
return (char*) packet+8;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Faster net_store_length when we know length is a 32 bit integer
|
Faster net_store_length when we know length is a 32 bit integer
|
||||||
*/
|
*/
|
||||||
|
@ -1240,7 +1240,7 @@ bool sys_var_collation::check(THD *thd, set_var *var)
|
|||||||
|
|
||||||
if (!(tmp=get_charset_by_name(res->c_ptr(),MYF(0))))
|
if (!(tmp=get_charset_by_name(res->c_ptr(),MYF(0))))
|
||||||
{
|
{
|
||||||
my_error(ER_UNKNOWN_CHARACTER_SET, MYF(0), res->c_ptr());
|
my_error(ER_UNKNOWN_COLLATION, MYF(0), res->c_ptr());
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
var->save_result.charset= tmp; // Save for update
|
var->save_result.charset= tmp; // Save for update
|
||||||
|
@ -54,8 +54,8 @@ v/*
|
|||||||
"M-B<>lo prostoru/pam<61>ti pro thread",
|
"M-B<>lo prostoru/pam<61>ti pro thread",
|
||||||
"Nemohu zjistit jm-B<>no stroje pro Va<56>i adresu",
|
"Nemohu zjistit jm-B<>no stroje pro Va<56>i adresu",
|
||||||
"Chyba p-B<>i ustavov<6F>n<EFBFBD> spojen<65>",
|
"Chyba p-B<>i ustavov<6F>n<EFBFBD> spojen<65>",
|
||||||
"P-B<><42>stup pro u<>ivatele '%-.32s@%-.64s' k datab<61>zi '%-.64s' nen<65> povolen",
|
"P-B<><42>stup pro u<>ivatele '%-.32s'@'%-.64s' k datab<61>zi '%-.64s' nen<65> povolen",
|
||||||
"P-B<><42>stup pro u<>ivatele '%-.32s@%-.64s' (s heslem %s)",
|
"P-B<><42>stup pro u<>ivatele '%-.32s'@'%-.64s' (s heslem %s)",
|
||||||
"Nebyla vybr-B<>na <20><>dn<64> datab<61>ze",
|
"Nebyla vybr-B<>na <20><>dn<64> datab<61>ze",
|
||||||
"Nezn-B<>m<EFBFBD> p<><70>kaz",
|
"Nezn-B<>m<EFBFBD> p<><70>kaz",
|
||||||
"Sloupec '%-.64s' nem-B<><42>e b<>t null",
|
"Sloupec '%-.64s' nem-B<><42>e b<>t null",
|
||||||
@ -152,8 +152,8 @@ v/*
|
|||||||
"Regul-B<>rn<72> v<>raz vr<76>til chybu '%-.64s'",
|
"Regul-B<>rn<72> v<>raz vr<76>til chybu '%-.64s'",
|
||||||
"Pokud nen-B<> <20><>dn<64> GROUP BY klauzule, nen<65> dovoleno sou<6F>asn<73> pou<6F>it<69> GROUP polo<6C>ek (MIN(),MAX(),COUNT()...) s ne GROUP polo<6C>kami",
|
"Pokud nen-B<> <20><>dn<64> GROUP BY klauzule, nen<65> dovoleno sou<6F>asn<73> pou<6F>it<69> GROUP polo<6C>ek (MIN(),MAX(),COUNT()...) s ne GROUP polo<6C>kami",
|
||||||
"Neexistuje odpov-B<>daj<61>c<EFBFBD> grant pro u<>ivatele '%-.32s' na stroji '%-.64s'",
|
"Neexistuje odpov-B<>daj<61>c<EFBFBD> grant pro u<>ivatele '%-.32s' na stroji '%-.64s'",
|
||||||
"%-.16s p-B<><42>kaz nep<65><70>stupn<70> pro u<>ivatele: '%-.32s@%-.64s' pro tabulku '%-.64s'",
|
"%-.16s p-B<><42>kaz nep<65><70>stupn<70> pro u<>ivatele: '%-.32s'@'%-.64s' pro tabulku '%-.64s'",
|
||||||
"%-.16s p-B<><42>kaz nep<65><70>stupn<70> pro u<>ivatele: '%-.32s@%-.64s' pro sloupec '%-.64s' v tabulce '%-.64s'",
|
"%-.16s p-B<><42>kaz nep<65><70>stupn<70> pro u<>ivatele: '%-.32s'@'%-.64s' pro sloupec '%-.64s' v tabulce '%-.64s'",
|
||||||
"Neplatn-B<> p<><70>kaz GRANT/REVOKE. Pros<6F>m, p<>e<EFBFBD>t<EFBFBD>te si v manu<6E>lu, jak<61> privilegia je mo<6D>n<EFBFBD> pou<6F><75>t.",
|
"Neplatn-B<> p<><70>kaz GRANT/REVOKE. Pros<6F>m, p<>e<EFBFBD>t<EFBFBD>te si v manu<6E>lu, jak<61> privilegia je mo<6D>n<EFBFBD> pou<6F><75>t.",
|
||||||
"Argument p-B<><42>kazu GRANT u<>ivatel nebo stroj je p<><70>li<6C> dlouh<75>",
|
"Argument p-B<><42>kazu GRANT u<>ivatel nebo stroj je p<><70>li<6C> dlouh<75>",
|
||||||
"Tabulka '%-.64s.%s' neexistuje",
|
"Tabulka '%-.64s.%s' neexistuje",
|
||||||
@ -221,7 +221,7 @@ v/*
|
|||||||
"DROP DATABASE not allowed while thread is holding global read lock",
|
"DROP DATABASE not allowed while thread is holding global read lock",
|
||||||
"CREATE DATABASE not allowed while thread is holding global read lock",
|
"CREATE DATABASE not allowed while thread is holding global read lock",
|
||||||
"Wrong arguments to %s",
|
"Wrong arguments to %s",
|
||||||
"%-.32s@%-.64s is not allowed to create new users",
|
"'%-.32s'@'%-.64s' is not allowed to create new users",
|
||||||
"Incorrect table definition; all MERGE tables must be in the same database",
|
"Incorrect table definition; all MERGE tables must be in the same database",
|
||||||
"Deadlock found when trying to get lock; Try restarting transaction",
|
"Deadlock found when trying to get lock; Try restarting transaction",
|
||||||
"The used table type doesn't support FULLTEXT indexes",
|
"The used table type doesn't support FULLTEXT indexes",
|
||||||
@ -276,3 +276,4 @@ v/*
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -48,8 +48,8 @@
|
|||||||
"Udg<64>et for tr<74>de/hukommelse",
|
"Udg<64>et for tr<74>de/hukommelse",
|
||||||
"Kan ikke f<> v<>rtsnavn for din adresse",
|
"Kan ikke f<> v<>rtsnavn for din adresse",
|
||||||
"Forkert h<>ndtryk (handshake)",
|
"Forkert h<>ndtryk (handshake)",
|
||||||
"Adgang n<>gtet bruger: '%-.32s@%-.64s' til databasen '%-.64s'",
|
"Adgang n<>gtet bruger: '%-.32s'@'%-.64s' til databasen '%-.64s'",
|
||||||
"Adgang n<>gtet bruger: '%-.32s@%-.64s' (Bruger adgangskode: %s)",
|
"Adgang n<>gtet bruger: '%-.32s'@'%-.64s' (Bruger adgangskode: %s)",
|
||||||
"Ingen database valgt",
|
"Ingen database valgt",
|
||||||
"Ukendt kommando",
|
"Ukendt kommando",
|
||||||
"Kolonne '%-.64s' kan ikke v<>re NULL",
|
"Kolonne '%-.64s' kan ikke v<>re NULL",
|
||||||
@ -146,8 +146,8 @@
|
|||||||
"Fik fejl '%-.64s' fra regexp",
|
"Fik fejl '%-.64s' fra regexp",
|
||||||
"Sammenblanding af GROUP kolonner (MIN(),MAX(),COUNT()...) uden GROUP kolonner er ikke tilladt, hvis der ikke er noget GROUP BY pr<70>dikat",
|
"Sammenblanding af GROUP kolonner (MIN(),MAX(),COUNT()...) uden GROUP kolonner er ikke tilladt, hvis der ikke er noget GROUP BY pr<70>dikat",
|
||||||
"Denne tilladelse findes ikke for brugeren '%-.32s' p<> v<>rt '%-.64s'",
|
"Denne tilladelse findes ikke for brugeren '%-.32s' p<> v<>rt '%-.64s'",
|
||||||
"%-.16s-kommandoen er ikke tilladt for brugeren '%-.32s@%-.64s' for tabellen '%-.64s'",
|
"%-.16s-kommandoen er ikke tilladt for brugeren '%-.32s'@'%-.64s' for tabellen '%-.64s'",
|
||||||
"%-.16s-kommandoen er ikke tilladt for brugeren '%-.32s@%-.64s' for kolonne '%-.64s' in tabellen '%-.64s'",
|
"%-.16s-kommandoen er ikke tilladt for brugeren '%-.32s'@'%-.64s' for kolonne '%-.64s' in tabellen '%-.64s'",
|
||||||
"Forkert GRANT/REVOKE kommando. Se i brugervejledningen hvilke privilegier der kan specificeres.",
|
"Forkert GRANT/REVOKE kommando. Se i brugervejledningen hvilke privilegier der kan specificeres.",
|
||||||
"V<>rts- eller brugernavn for langt til GRANT",
|
"V<>rts- eller brugernavn for langt til GRANT",
|
||||||
"Tabellen '%-.64s.%-.64s' eksisterer ikke",
|
"Tabellen '%-.64s.%-.64s' eksisterer ikke",
|
||||||
@ -215,7 +215,7 @@
|
|||||||
"DROP DATABASE er ikke tilladt mens en tr<74>d holder p<> globalt read lock",
|
"DROP DATABASE er ikke tilladt mens en tr<74>d holder p<> globalt read lock",
|
||||||
"CREATE DATABASE er ikke tilladt mens en tr<74>d holder p<> globalt read lock",
|
"CREATE DATABASE er ikke tilladt mens en tr<74>d holder p<> globalt read lock",
|
||||||
"Wrong arguments to %s",
|
"Wrong arguments to %s",
|
||||||
"%-.32s@%-.64s is not allowed to create new users",
|
"'%-.32s'@'%-.64s' is not allowed to create new users",
|
||||||
"Incorrect table definition; all MERGE tables must be in the same database",
|
"Incorrect table definition; all MERGE tables must be in the same database",
|
||||||
"Deadlock found when trying to get lock; Try restarting transaction",
|
"Deadlock found when trying to get lock; Try restarting transaction",
|
||||||
"The used table type doesn't support FULLTEXT indexes",
|
"The used table type doesn't support FULLTEXT indexes",
|
||||||
@ -270,3 +270,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -56,8 +56,8 @@
|
|||||||
"Geen thread geheugen meer; controleer of mysqld of andere processen al het beschikbare geheugen gebruikt. Zo niet, dan moet u wellicht 'ulimit' gebruiken om mysqld toe te laten meer geheugen te benutten, of u kunt extra swap ruimte toevoegen",
|
"Geen thread geheugen meer; controleer of mysqld of andere processen al het beschikbare geheugen gebruikt. Zo niet, dan moet u wellicht 'ulimit' gebruiken om mysqld toe te laten meer geheugen te benutten, of u kunt extra swap ruimte toevoegen",
|
||||||
"Kan de hostname niet krijgen van uw adres",
|
"Kan de hostname niet krijgen van uw adres",
|
||||||
"Verkeerde handshake",
|
"Verkeerde handshake",
|
||||||
"Toegang geweigerd voor gebruiker: '%-.32s@%-.64s' naar database '%-.64s'",
|
"Toegang geweigerd voor gebruiker: '%-.32s'@'%-.64s' naar database '%-.64s'",
|
||||||
"Toegang geweigerd voor gebruiker: '%-.32s@%-.64s' (Wachtwoord gebruikt: %s)",
|
"Toegang geweigerd voor gebruiker: '%-.32s'@'%-.64s' (Wachtwoord gebruikt: %s)",
|
||||||
"Geen database geselecteerd",
|
"Geen database geselecteerd",
|
||||||
"Onbekend commando",
|
"Onbekend commando",
|
||||||
"Kolom '%-.64s' kan niet null zijn",
|
"Kolom '%-.64s' kan niet null zijn",
|
||||||
@ -154,8 +154,8 @@
|
|||||||
"Fout '%-.64s' ontvangen van regexp",
|
"Fout '%-.64s' ontvangen van regexp",
|
||||||
"Het mixen van GROUP kolommen (MIN(),MAX(),COUNT()...) met no-GROUP kolommen is foutief indien er geen GROUP BY clausule is",
|
"Het mixen van GROUP kolommen (MIN(),MAX(),COUNT()...) met no-GROUP kolommen is foutief indien er geen GROUP BY clausule is",
|
||||||
"Deze toegang (GRANT) is niet toegekend voor gebruiker '%-.32s' op host '%-.64s'",
|
"Deze toegang (GRANT) is niet toegekend voor gebruiker '%-.32s' op host '%-.64s'",
|
||||||
"%-.16s commando geweigerd voor gebruiker: '%-.32s@%-.64s' voor tabel '%-.64s'",
|
"%-.16s commando geweigerd voor gebruiker: '%-.32s'@'%-.64s' voor tabel '%-.64s'",
|
||||||
"%-.16s commando geweigerd voor gebruiker: '%-.32s@%-.64s' voor kolom '%-.64s' in tabel '%-.64s'",
|
"%-.16s commando geweigerd voor gebruiker: '%-.32s'@'%-.64s' voor kolom '%-.64s' in tabel '%-.64s'",
|
||||||
"Foutief GRANT/REVOKE commando. Raadpleeg de handleiding welke priveleges gebruikt kunnen worden.",
|
"Foutief GRANT/REVOKE commando. Raadpleeg de handleiding welke priveleges gebruikt kunnen worden.",
|
||||||
"De host of gebruiker parameter voor GRANT is te lang",
|
"De host of gebruiker parameter voor GRANT is te lang",
|
||||||
"Tabel '%-.64s.%s' bestaat niet",
|
"Tabel '%-.64s.%s' bestaat niet",
|
||||||
@ -223,7 +223,7 @@
|
|||||||
"DROP DATABASE niet toegestaan terwijl thread een globale 'read lock' bezit",
|
"DROP DATABASE niet toegestaan terwijl thread een globale 'read lock' bezit",
|
||||||
"CREATE DATABASE niet toegestaan terwijl thread een globale 'read lock' bezit",
|
"CREATE DATABASE niet toegestaan terwijl thread een globale 'read lock' bezit",
|
||||||
"Foutieve parameters voor %s",
|
"Foutieve parameters voor %s",
|
||||||
"%-.32s@%-.64s mag geen nieuwe gebruikers creeren",
|
"'%-.32s'@'%-.64s' mag geen nieuwe gebruikers creeren",
|
||||||
"Incorrecte tabel definitie; alle MERGE tabellen moeten tot dezelfde database behoren",
|
"Incorrecte tabel definitie; alle MERGE tabellen moeten tot dezelfde database behoren",
|
||||||
"Deadlock gevonden tijdens lock-aanvraag poging; Probeer herstart van de transactie",
|
"Deadlock gevonden tijdens lock-aanvraag poging; Probeer herstart van de transactie",
|
||||||
"Het gebruikte tabel type ondersteund geen FULLTEXT indexen",
|
"Het gebruikte tabel type ondersteund geen FULLTEXT indexen",
|
||||||
@ -278,3 +278,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -45,8 +45,8 @@
|
|||||||
"Out of memory; Check if mysqld or some other process uses all available memory. If not you may have to use 'ulimit' to allow mysqld to use more memory or you can add more swap space",
|
"Out of memory; Check if mysqld or some other process uses all available memory. If not you may have to use 'ulimit' to allow mysqld to use more memory or you can add more swap space",
|
||||||
"Can't get hostname for your address",
|
"Can't get hostname for your address",
|
||||||
"Bad handshake",
|
"Bad handshake",
|
||||||
"Access denied for user: '%-.32s@%-.64s' to database '%-.64s'",
|
"Access denied for user: '%-.32s'@'%-.64s' to database '%-.64s'",
|
||||||
"Access denied for user: '%-.32s@%-.64s' (Using password: %s)",
|
"Access denied for user: '%-.32s'@'%-.64s' (Using password: %s)",
|
||||||
"No Database Selected",
|
"No Database Selected",
|
||||||
"Unknown command",
|
"Unknown command",
|
||||||
"Column '%-.64s' cannot be null",
|
"Column '%-.64s' cannot be null",
|
||||||
@ -143,8 +143,8 @@
|
|||||||
"Got error '%-.64s' from regexp",
|
"Got error '%-.64s' from regexp",
|
||||||
"Mixing of GROUP columns (MIN(),MAX(),COUNT()...) with no GROUP columns is illegal if there is no GROUP BY clause",
|
"Mixing of GROUP columns (MIN(),MAX(),COUNT()...) with no GROUP columns is illegal if there is no GROUP BY clause",
|
||||||
"There is no such grant defined for user '%-.32s' on host '%-.64s'",
|
"There is no such grant defined for user '%-.32s' on host '%-.64s'",
|
||||||
"%-.16s command denied to user: '%-.32s@%-.64s' for table '%-.64s'",
|
"%-.16s command denied to user: '%-.32s'@'%-.64s' for table '%-.64s'",
|
||||||
"%-.16s command denied to user: '%-.32s@%-.64s' for column '%-.64s' in table '%-.64s'",
|
"%-.16s command denied to user: '%-.32s'@'%-.64s' for column '%-.64s' in table '%-.64s'",
|
||||||
"Illegal GRANT/REVOKE command. Please consult the manual which privileges can be used",
|
"Illegal GRANT/REVOKE command. Please consult the manual which privileges can be used",
|
||||||
"The host or user argument to GRANT is too long",
|
"The host or user argument to GRANT is too long",
|
||||||
"Table '%-.64s.%-.64s' doesn't exist",
|
"Table '%-.64s.%-.64s' doesn't exist",
|
||||||
@ -212,7 +212,7 @@
|
|||||||
"DROP DATABASE not allowed while thread is holding global read lock",
|
"DROP DATABASE not allowed while thread is holding global read lock",
|
||||||
"CREATE DATABASE not allowed while thread is holding global read lock",
|
"CREATE DATABASE not allowed while thread is holding global read lock",
|
||||||
"Wrong arguments to %s",
|
"Wrong arguments to %s",
|
||||||
"%-.32s@%-.64s is not allowed to create new users",
|
"'%-.32s'@'%-.64s' is not allowed to create new users",
|
||||||
"Incorrect table definition; all MERGE tables must be in the same database",
|
"Incorrect table definition; all MERGE tables must be in the same database",
|
||||||
"Deadlock found when trying to get lock; Try restarting transaction",
|
"Deadlock found when trying to get lock; Try restarting transaction",
|
||||||
"The used table type doesn't support FULLTEXT indexes",
|
"The used table type doesn't support FULLTEXT indexes",
|
||||||
@ -272,3 +272,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -50,8 +50,8 @@
|
|||||||
"M<>lu sai otsa. V<>imalik, et aitab swap-i lisamine v<>i k<>su 'ulimit' abil MySQL-le rohkema m<>lu kasutamise lubamine",
|
"M<>lu sai otsa. V<>imalik, et aitab swap-i lisamine v<>i k<>su 'ulimit' abil MySQL-le rohkema m<>lu kasutamise lubamine",
|
||||||
"Ei suuda lahendada IP aadressi masina nimeks",
|
"Ei suuda lahendada IP aadressi masina nimeks",
|
||||||
"V<><56>r handshake",
|
"V<><56>r handshake",
|
||||||
"Ligip<69><70>s keelatud kasutajale '%-.32s@%-.64s' andmebaasile '%-.64s'",
|
"Ligip<69><70>s keelatud kasutajale '%-.32s'@'%-.64s' andmebaasile '%-.64s'",
|
||||||
"Ligip<69><70>s keelatud kasutajale '%-.32s@%-.64s' (kasutab parooli: %s)",
|
"Ligip<69><70>s keelatud kasutajale '%-.32s'@'%-.64s' (kasutab parooli: %s)",
|
||||||
"Andmebaasi ei ole valitud",
|
"Andmebaasi ei ole valitud",
|
||||||
"Tundmatu k<>sk",
|
"Tundmatu k<>sk",
|
||||||
"Tulp '%-.64s' ei saa omada nullv<6C><76>rtust",
|
"Tulp '%-.64s' ei saa omada nullv<6C><76>rtust",
|
||||||
@ -148,8 +148,8 @@
|
|||||||
"regexp tagastas vea '%-.64s'",
|
"regexp tagastas vea '%-.64s'",
|
||||||
"GROUP tulpade (MIN(),MAX(),COUNT()...) kooskasutamine tavaliste tulpadega ilma GROUP BY klauslita ei ole lubatud",
|
"GROUP tulpade (MIN(),MAX(),COUNT()...) kooskasutamine tavaliste tulpadega ilma GROUP BY klauslita ei ole lubatud",
|
||||||
"Sellist <20>igust ei ole defineeritud kasutajale '%-.32s' masinast '%-.64s'",
|
"Sellist <20>igust ei ole defineeritud kasutajale '%-.32s' masinast '%-.64s'",
|
||||||
"%-.16s k<>sk ei ole lubatud kasutajale '%-.32s@%-.64s' tabelis '%-.64s'",
|
"%-.16s k<>sk ei ole lubatud kasutajale '%-.32s'@'%-.64s' tabelis '%-.64s'",
|
||||||
"%-.16s k<>sk ei ole lubatud kasutajale '%-.32s@%-.64s' tulbale '%-.64s' tabelis '%-.64s'",
|
"%-.16s k<>sk ei ole lubatud kasutajale '%-.32s'@'%-.64s' tulbale '%-.64s' tabelis '%-.64s'",
|
||||||
"Vigane GRANT/REVOKE k<>sk. Tutvu kasutajajuhendiga",
|
"Vigane GRANT/REVOKE k<>sk. Tutvu kasutajajuhendiga",
|
||||||
"Masina v<>i kasutaja nimi GRANT lauses on liiga pikk",
|
"Masina v<>i kasutaja nimi GRANT lauses on liiga pikk",
|
||||||
"Tabelit '%-.64s.%-.64s' ei eksisteeri",
|
"Tabelit '%-.64s.%-.64s' ei eksisteeri",
|
||||||
@ -217,7 +217,7 @@
|
|||||||
"DROP DATABASE ei ole lubatud kui l<>im omab globaalset READ lukku",
|
"DROP DATABASE ei ole lubatud kui l<>im omab globaalset READ lukku",
|
||||||
"CREATE DATABASE ei ole lubatud kui l<>im omab globaalset READ lukku",
|
"CREATE DATABASE ei ole lubatud kui l<>im omab globaalset READ lukku",
|
||||||
"Vigased parameetrid %s-le",
|
"Vigased parameetrid %s-le",
|
||||||
"Kasutajal %-.32s@%-.64s ei ole lubatud luua uusi kasutajaid",
|
"Kasutajal '%-.32s'@'%-.64s' ei ole lubatud luua uusi kasutajaid",
|
||||||
"Vigane tabelim<69><6D>ratlus; k<>ik MERGE tabeli liikmed peavad asuma samas andmebaasis",
|
"Vigane tabelim<69><6D>ratlus; k<>ik MERGE tabeli liikmed peavad asuma samas andmebaasis",
|
||||||
"Lukustamisel tekkis tupik (deadlock); alusta transaktsiooni otsast",
|
"Lukustamisel tekkis tupik (deadlock); alusta transaktsiooni otsast",
|
||||||
"Antud tabelit<69><74>p ei toeta FULLTEXT indekseid",
|
"Antud tabelit<69><74>p ei toeta FULLTEXT indekseid",
|
||||||
@ -272,3 +272,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -45,8 +45,8 @@
|
|||||||
"Manque de 'threads'/m<>moire",
|
"Manque de 'threads'/m<>moire",
|
||||||
"Ne peut obtenir de hostname pour votre adresse",
|
"Ne peut obtenir de hostname pour votre adresse",
|
||||||
"Mauvais 'handshake'",
|
"Mauvais 'handshake'",
|
||||||
"Acc<63>s refus<75> pour l'utilisateur: '%-.32s@%-.64s'. Base '%-.64s'",
|
"Acc<63>s refus<75> pour l'utilisateur: '%-.32s'@'@%-.64s'. Base '%-.64s'",
|
||||||
"Acc<63>s refus<75> pour l'utilisateur: '%-.32s@%-.64s' (mot de passe: %s)",
|
"Acc<63>s refus<75> pour l'utilisateur: '%-.32s'@'@%-.64s' (mot de passe: %s)",
|
||||||
"Aucune base n'a <20>t<EFBFBD> s<>lectionn<6E>e",
|
"Aucune base n'a <20>t<EFBFBD> s<>lectionn<6E>e",
|
||||||
"Commande inconnue",
|
"Commande inconnue",
|
||||||
"Le champ '%-.64s' ne peut <20>tre vide (null)",
|
"Le champ '%-.64s' ne peut <20>tre vide (null)",
|
||||||
@ -143,8 +143,8 @@
|
|||||||
"Erreur '%-.64s' provenant de regexp",
|
"Erreur '%-.64s' provenant de regexp",
|
||||||
"M<>langer les colonnes GROUP (MIN(),MAX(),COUNT()...) avec des colonnes normales est interdit s'il n'y a pas de clause GROUP BY",
|
"M<>langer les colonnes GROUP (MIN(),MAX(),COUNT()...) avec des colonnes normales est interdit s'il n'y a pas de clause GROUP BY",
|
||||||
"Un tel droit n'est pas d<>fini pour l'utilisateur '%-.32s' sur l'h<>te '%-.64s'",
|
"Un tel droit n'est pas d<>fini pour l'utilisateur '%-.32s' sur l'h<>te '%-.64s'",
|
||||||
"La commande '%-.16s' est interdite <20> l'utilisateur: '%-.32s@%-.64s' sur la table '%-.64s'",
|
"La commande '%-.16s' est interdite <20> l'utilisateur: '%-.32s'@'@%-.64s' sur la table '%-.64s'",
|
||||||
"La commande '%-.16s' est interdite <20> l'utilisateur: '%-.32s@%-.64s' sur la colonne '%-.64s' de la table '%-.64s'",
|
"La commande '%-.16s' est interdite <20> l'utilisateur: '%-.32s'@'@%-.64s' sur la colonne '%-.64s' de la table '%-.64s'",
|
||||||
"Commande GRANT/REVOKE incorrecte. Consultez le manuel.",
|
"Commande GRANT/REVOKE incorrecte. Consultez le manuel.",
|
||||||
"L'h<>te ou l'utilisateur donn<6E> en argument <20> GRANT est trop long",
|
"L'h<>te ou l'utilisateur donn<6E> en argument <20> GRANT est trop long",
|
||||||
"La table '%-.64s.%s' n'existe pas",
|
"La table '%-.64s.%s' n'existe pas",
|
||||||
@ -212,7 +212,7 @@
|
|||||||
"DROP DATABASE n'est pas autoris<69>e pendant qu'une t<>che poss<73>de un verrou global en lecture",
|
"DROP DATABASE n'est pas autoris<69>e pendant qu'une t<>che poss<73>de un verrou global en lecture",
|
||||||
"CREATE DATABASE n'est pas autoris<69>e pendant qu'une t<>che poss<73>de un verrou global en lecture",
|
"CREATE DATABASE n'est pas autoris<69>e pendant qu'une t<>che poss<73>de un verrou global en lecture",
|
||||||
"Mauvais arguments <20> %s",
|
"Mauvais arguments <20> %s",
|
||||||
"%-.32s@%-.64s n'est pas autoris<69> <20> cr<63>er de nouveaux utilisateurs",
|
"'%-.32s'@'%-.64s' n'est pas autoris<69> <20> cr<63>er de nouveaux utilisateurs",
|
||||||
"D<>finition de table incorrecte; toutes les tables MERGE doivent <20>tre dans la m<>me base de donn<6E>e",
|
"D<>finition de table incorrecte; toutes les tables MERGE doivent <20>tre dans la m<>me base de donn<6E>e",
|
||||||
"Deadlock d<>couvert en essayant d'obtenir les verrous : essayez de red<65>marrer la transaction",
|
"Deadlock d<>couvert en essayant d'obtenir les verrous : essayez de red<65>marrer la transaction",
|
||||||
"Le type de table utilis<69> ne supporte pas les index FULLTEXT",
|
"Le type de table utilis<69> ne supporte pas les index FULLTEXT",
|
||||||
@ -267,3 +267,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -54,8 +54,8 @@
|
|||||||
"Zuwenig Speicher.",
|
"Zuwenig Speicher.",
|
||||||
"Kann Hostname f<>r diese Adresse nicht erhalten.",
|
"Kann Hostname f<>r diese Adresse nicht erhalten.",
|
||||||
"Schlechter Handshake.",
|
"Schlechter Handshake.",
|
||||||
"Keine Zugriffsberechtigung f<>r Benutzer: '%-.32s@%-.64s' f<>r Datenbank '%-.64s'.",
|
"Keine Zugriffsberechtigung f<>r Benutzer: '%-.32s'@'%-.64s' f<>r Datenbank '%-.64s'.",
|
||||||
"Keine Zugriffsberechtigung f<>r Benutzer: '%-.32s@%-.64s'. (Verwendetes Passwort: %-.64s)",
|
"Keine Zugriffsberechtigung f<>r Benutzer: '%-.32s'@'%-.64s'. (Verwendetes Passwort: %-.64s)",
|
||||||
"Keine Datenbank ausgew<65>hlt.",
|
"Keine Datenbank ausgew<65>hlt.",
|
||||||
"Unbekannter Befehl.",
|
"Unbekannter Befehl.",
|
||||||
"Feld '%-.64s' kann nicht NULL sein.",
|
"Feld '%-.64s' kann nicht NULL sein.",
|
||||||
@ -152,8 +152,8 @@
|
|||||||
"Fehler '%-.64s' von regexp",
|
"Fehler '%-.64s' von regexp",
|
||||||
"Das Vermischen von GROUP Spalten (MIN(),MAX(),COUNT()...) mit Nicht-GROUP Spalten ist nicht erlaubt, sofern keine GROUP BY Klausel vorhanden ist.",
|
"Das Vermischen von GROUP Spalten (MIN(),MAX(),COUNT()...) mit Nicht-GROUP Spalten ist nicht erlaubt, sofern keine GROUP BY Klausel vorhanden ist.",
|
||||||
"Keine solche Berechtigung f<>r User '%-.32s' auf Host '%-.64s'",
|
"Keine solche Berechtigung f<>r User '%-.32s' auf Host '%-.64s'",
|
||||||
"%-.16s Befehl nicht erlaubt f<>r User: '%-.32s@%-.64s' f<>r Tabelle '%-.64s'",
|
"%-.16s Befehl nicht erlaubt f<>r User: '%-.32s'@'%-.64s' f<>r Tabelle '%-.64s'",
|
||||||
"%-.16s Befehl nicht erlaubt f<>r User: '%-.32s@%-.64s' in Spalte '%-.64s' in Tabelle '%-.64s'",
|
"%-.16s Befehl nicht erlaubt f<>r User: '%-.32s'@'%-.64s' in Spalte '%-.64s' in Tabelle '%-.64s'",
|
||||||
"Unzul<75>ssiger GRANT/REVOKE Befehl. Weiteres zum Thema Berechtigungen im Manual.",
|
"Unzul<75>ssiger GRANT/REVOKE Befehl. Weiteres zum Thema Berechtigungen im Manual.",
|
||||||
"Das Host oder User Argument f<>r GRANT ist zu lang",
|
"Das Host oder User Argument f<>r GRANT ist zu lang",
|
||||||
"Tabelle '%-.64s.%-.64s' existiert nicht",
|
"Tabelle '%-.64s.%-.64s' existiert nicht",
|
||||||
@ -221,7 +221,7 @@
|
|||||||
"Solange ein globaler Read LOCK gesetzt ist, ist DROP DATABASE nicht zul<75>ssig.",
|
"Solange ein globaler Read LOCK gesetzt ist, ist DROP DATABASE nicht zul<75>ssig.",
|
||||||
"Solange ein globaler Read LOCK gesetzt ist, ist CREATE DATABASE nicht zul<75>ssig.",
|
"Solange ein globaler Read LOCK gesetzt ist, ist CREATE DATABASE nicht zul<75>ssig.",
|
||||||
"Falsche Argumente f<>r %s",
|
"Falsche Argumente f<>r %s",
|
||||||
"%-.32s@%-.64s is nicht berechtigt neue Benutzer hinzuzuf<75>gen.",
|
"'%-.32s'@'%-.64s' is nicht berechtigt neue Benutzer hinzuzuf<75>gen.",
|
||||||
"Falsche Tabellendefinition; s<>mtliche MERGE-Tabellen m<>ssen in derselben Datenbank sein.",
|
"Falsche Tabellendefinition; s<>mtliche MERGE-Tabellen m<>ssen in derselben Datenbank sein.",
|
||||||
"Beim Versuch einen Lock anzufordern ist ein Deadlock aufgetreten. Es wird versucht die Transaktion erneut zu starten.",
|
"Beim Versuch einen Lock anzufordern ist ein Deadlock aufgetreten. Es wird versucht die Transaktion erneut zu starten.",
|
||||||
"Der verwendete Tabellentyp unterst<73>tzt keinen FULLTEXT-Index.",
|
"Der verwendete Tabellentyp unterst<73>tzt keinen FULLTEXT-Index.",
|
||||||
@ -276,3 +276,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -45,8 +45,8 @@
|
|||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (Out of thread space/memory)",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (Out of thread space/memory)",
|
||||||
"<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> hostname <20><><EFBFBD> <20><><EFBFBD> address <20><><EFBFBD>",
|
"<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> hostname <20><><EFBFBD> <20><><EFBFBD> address <20><><EFBFBD>",
|
||||||
"<22> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (handshake) <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>",
|
"<22> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (handshake) <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: '%-.32s@%-.64s' <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s'",
|
"<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: '%-.32s'@'%-.64s' <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s'",
|
||||||
"<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: '%-.32s@%-.64s' (<28><><EFBFBD><EFBFBD><EFBFBD> password: %s)",
|
"<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: '%-.32s'@'%-.64s' (<28><><EFBFBD><EFBFBD><EFBFBD> password: %s)",
|
||||||
"<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><> <20><><EFBFBD><EFBFBD><EFBFBD> '%-.64s' <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> (null)",
|
"<22><> <20><><EFBFBD><EFBFBD><EFBFBD> '%-.64s' <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> (null)",
|
||||||
@ -143,8 +143,8 @@
|
|||||||
"Got error '%-.64s' from regexp",
|
"Got error '%-.64s' from regexp",
|
||||||
"Mixing of GROUP columns (MIN(),MAX(),COUNT()...) with no GROUP columns is illegal if there is no GROUP BY clause",
|
"Mixing of GROUP columns (MIN(),MAX(),COUNT()...) with no GROUP columns is illegal if there is no GROUP BY clause",
|
||||||
"There is no such grant defined for user '%-.32s' on host '%-.64s'",
|
"There is no such grant defined for user '%-.32s' on host '%-.64s'",
|
||||||
"%-.16s command denied to user: '%-.32s@%-.64s' for table '%-.64s'",
|
"%-.16s command denied to user: '%-.32s'@'%-.64s' for table '%-.64s'",
|
||||||
"%-.16s command denied to user: '%-.32s@%-.64s' for column '%-.64s' in table '%-.64s'",
|
"%-.16s command denied to user: '%-.32s'@'%-.64s' for column '%-.64s' in table '%-.64s'",
|
||||||
"Illegal GRANT/REVOKE command. Please consult the manual which privileges can be used.",
|
"Illegal GRANT/REVOKE command. Please consult the manual which privileges can be used.",
|
||||||
"The host or user argument to GRANT is too long",
|
"The host or user argument to GRANT is too long",
|
||||||
"Table '%-.64s.%-.64s' doesn't exist",
|
"Table '%-.64s.%-.64s' doesn't exist",
|
||||||
@ -212,7 +212,7 @@
|
|||||||
"DROP DATABASE not allowed while thread is holding global read lock",
|
"DROP DATABASE not allowed while thread is holding global read lock",
|
||||||
"CREATE DATABASE not allowed while thread is holding global read lock",
|
"CREATE DATABASE not allowed while thread is holding global read lock",
|
||||||
"Wrong arguments to %s",
|
"Wrong arguments to %s",
|
||||||
"%-.32s@%-.64s is not allowed to create new users",
|
"'%-.32s'@'%-.64s' is not allowed to create new users",
|
||||||
"Incorrect table definition; all MERGE tables must be in the same database",
|
"Incorrect table definition; all MERGE tables must be in the same database",
|
||||||
"Deadlock found when trying to get lock; Try restarting transaction",
|
"Deadlock found when trying to get lock; Try restarting transaction",
|
||||||
"The used table type doesn't support FULLTEXT indexes",
|
"The used table type doesn't support FULLTEXT indexes",
|
||||||
@ -267,3 +267,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -47,8 +47,8 @@
|
|||||||
"Elfogyott a thread-memoria",
|
"Elfogyott a thread-memoria",
|
||||||
"A gepnev nem allapithato meg a cimbol",
|
"A gepnev nem allapithato meg a cimbol",
|
||||||
"A kapcsolatfelvetel nem sikerult (Bad handshake)",
|
"A kapcsolatfelvetel nem sikerult (Bad handshake)",
|
||||||
"A(z) '%-.32s@%-.64s' felhasznalo szamara tiltott eleres az '%-.64s' adabazishoz.",
|
"A(z) '%-.32s'@'%-.64s' felhasznalo szamara tiltott eleres az '%-.64s' adabazishoz.",
|
||||||
"A(z) '%-.32s@%-.64s' felhasznalo szamara tiltott eleres. (Hasznalja a jelszot: %s)",
|
"A(z) '%-.32s'@'%-.64s' felhasznalo szamara tiltott eleres. (Hasznalja a jelszot: %s)",
|
||||||
"Nincs kivalasztott adatbazis",
|
"Nincs kivalasztott adatbazis",
|
||||||
"Ervenytelen parancs",
|
"Ervenytelen parancs",
|
||||||
"A(z) '%-.64s' oszlop erteke nem lehet nulla",
|
"A(z) '%-.64s' oszlop erteke nem lehet nulla",
|
||||||
@ -145,8 +145,8 @@
|
|||||||
"'%-.64s' hiba a regularis kifejezes hasznalata soran (regexp)",
|
"'%-.64s' hiba a regularis kifejezes hasznalata soran (regexp)",
|
||||||
"A GROUP mezok (MIN(),MAX(),COUNT()...) kevert hasznalata nem lehetseges GROUP BY hivatkozas nelkul",
|
"A GROUP mezok (MIN(),MAX(),COUNT()...) kevert hasznalata nem lehetseges GROUP BY hivatkozas nelkul",
|
||||||
"A '%-.32s' felhasznalonak nincs ilyen joga a '%-.64s' host-on",
|
"A '%-.32s' felhasznalonak nincs ilyen joga a '%-.64s' host-on",
|
||||||
"%-.16s parancs a '%-.32s@%-.64s' felhasznalo szamara nem engedelyezett a '%-.64s' tablaban",
|
"%-.16s parancs a '%-.32s'@'%-.64s' felhasznalo szamara nem engedelyezett a '%-.64s' tablaban",
|
||||||
"%-.16s parancs a '%-.32s@%-.64s' felhasznalo szamara nem engedelyezett a '%-.64s' mezo eseten a '%-.64s' tablaban",
|
"%-.16s parancs a '%-.32s'@'%-.64s' felhasznalo szamara nem engedelyezett a '%-.64s' mezo eseten a '%-.64s' tablaban",
|
||||||
"Ervenytelen GRANT/REVOKE parancs. Kerem, nezze meg a kezikonyvben, milyen jogok lehetsegesek",
|
"Ervenytelen GRANT/REVOKE parancs. Kerem, nezze meg a kezikonyvben, milyen jogok lehetsegesek",
|
||||||
"A host vagy felhasznalo argumentuma tul hosszu a GRANT parancsban",
|
"A host vagy felhasznalo argumentuma tul hosszu a GRANT parancsban",
|
||||||
"A '%-.64s.%s' tabla nem letezik",
|
"A '%-.64s.%s' tabla nem letezik",
|
||||||
@ -214,7 +214,7 @@
|
|||||||
"DROP DATABASE not allowed while thread is holding global read lock",
|
"DROP DATABASE not allowed while thread is holding global read lock",
|
||||||
"CREATE DATABASE not allowed while thread is holding global read lock",
|
"CREATE DATABASE not allowed while thread is holding global read lock",
|
||||||
"Wrong arguments to %s",
|
"Wrong arguments to %s",
|
||||||
"%-.32s@%-.64s is not allowed to create new users",
|
"'%-.32s'@'%-.64s' is not allowed to create new users",
|
||||||
"Incorrect table definition; all MERGE tables must be in the same database",
|
"Incorrect table definition; all MERGE tables must be in the same database",
|
||||||
"Deadlock found when trying to get lock; Try restarting transaction",
|
"Deadlock found when trying to get lock; Try restarting transaction",
|
||||||
"The used table type doesn't support FULLTEXT indexes",
|
"The used table type doesn't support FULLTEXT indexes",
|
||||||
@ -269,3 +269,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -45,8 +45,8 @@
|
|||||||
"Fine dello spazio/memoria per i thread",
|
"Fine dello spazio/memoria per i thread",
|
||||||
"Impossibile risalire al nome dell'host dall'indirizzo (risoluzione inversa)",
|
"Impossibile risalire al nome dell'host dall'indirizzo (risoluzione inversa)",
|
||||||
"Negoziazione impossibile",
|
"Negoziazione impossibile",
|
||||||
"Accesso non consentito per l'utente: '%-.32s@%-.64s' al database '%-.64s'",
|
"Accesso non consentito per l'utente: '%-.32s'@'%-.64s' al database '%-.64s'",
|
||||||
"Accesso non consentito per l'utente: '%-.32s@%-.64s' (Password: %s)",
|
"Accesso non consentito per l'utente: '%-.32s'@'%-.64s' (Password: %s)",
|
||||||
"Nessun database selezionato",
|
"Nessun database selezionato",
|
||||||
"Comando sconosciuto",
|
"Comando sconosciuto",
|
||||||
"La colonna '%-.64s' non puo` essere nulla",
|
"La colonna '%-.64s' non puo` essere nulla",
|
||||||
@ -143,8 +143,8 @@
|
|||||||
"Errore '%-.64s' da regexp",
|
"Errore '%-.64s' da regexp",
|
||||||
"Il mescolare funzioni di aggregazione (MIN(),MAX(),COUNT()...) e non e` illegale se non c'e` una clausula GROUP BY",
|
"Il mescolare funzioni di aggregazione (MIN(),MAX(),COUNT()...) e non e` illegale se non c'e` una clausula GROUP BY",
|
||||||
"GRANT non definita per l'utente '%-.32s' dalla macchina '%-.64s'",
|
"GRANT non definita per l'utente '%-.32s' dalla macchina '%-.64s'",
|
||||||
"Comando %-.16s negato per l'utente: '%-.32s@%-.64s' sulla tabella '%-.64s'",
|
"Comando %-.16s negato per l'utente: '%-.32s'@'%-.64s' sulla tabella '%-.64s'",
|
||||||
"Comando %-.16s negato per l'utente: '%-.32s@%-.64s' sulla colonna '%-.64s' della tabella '%-.64s'",
|
"Comando %-.16s negato per l'utente: '%-.32s'@'%-.64s' sulla colonna '%-.64s' della tabella '%-.64s'",
|
||||||
"Comando GRANT/REVOKE illegale. Prego consultare il manuale per sapere quali privilegi possono essere usati.",
|
"Comando GRANT/REVOKE illegale. Prego consultare il manuale per sapere quali privilegi possono essere usati.",
|
||||||
"L'argomento host o utente per la GRANT e` troppo lungo",
|
"L'argomento host o utente per la GRANT e` troppo lungo",
|
||||||
"La tabella '%-.64s.%s' non esiste",
|
"La tabella '%-.64s.%s' non esiste",
|
||||||
@ -212,7 +212,7 @@
|
|||||||
"DROP DATABASE non e' permesso mentre il thread ha un lock globale di lettura",
|
"DROP DATABASE non e' permesso mentre il thread ha un lock globale di lettura",
|
||||||
"CREATE DATABASE non e' permesso mentre il thread ha un lock globale di lettura",
|
"CREATE DATABASE non e' permesso mentre il thread ha un lock globale di lettura",
|
||||||
"Argomenti errati a %s",
|
"Argomenti errati a %s",
|
||||||
"A %-.32s@%-.64s non e' permesso creare nuovi utenti",
|
"A '%-.32s'@'%-.64s' non e' permesso creare nuovi utenti",
|
||||||
"Definizione della tabella errata; tutte le tabelle di tipo MERGE devono essere nello stesso database",
|
"Definizione della tabella errata; tutte le tabelle di tipo MERGE devono essere nello stesso database",
|
||||||
"Trovato deadlock durante il lock; Provare a far ripartire la transazione",
|
"Trovato deadlock durante il lock; Provare a far ripartire la transazione",
|
||||||
"La tabella usata non supporta gli indici FULLTEXT",
|
"La tabella usata non supporta gli indici FULLTEXT",
|
||||||
@ -267,3 +267,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -47,8 +47,8 @@
|
|||||||
"Out of memory; mysqld <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¾<EFBFBD>Υץ<CEA5><D7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EAA1BC><EFBFBD><EFBFBD><EFBFBD>ƻȤäƤ<C3A4><C6A4>뤫<EFBFBD><EBA4AB>ǧ<EFBFBD><C7A7><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EAA1BC><EFBFBD>Ȥ<EFBFBD><C8A4>ڤäƤ<C3A4><C6A4>ʤ<EFBFBD><CAA4><EFBFBD><EFBFBD>硢'ulimit' <20><><EFBFBD><EFBFBD><EFBFBD>ꤷ<EFBFBD><EAA4B7> mysqld <20>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD><EFBFBD><EAA1BC><EFBFBD>Ѹ³<D1B8><C2B3>̤<EFBFBD>¿<EFBFBD><C2BF><EFBFBD><EFBFBD><EFBFBD>뤫<EFBFBD><EBA4AB>swap space <20><><EFBFBD><EFBFBD><EFBFBD>䤷<EFBFBD>ƤߤƤ<DFA4><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"Out of memory; mysqld <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¾<EFBFBD>Υץ<CEA5><D7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EAA1BC><EFBFBD><EFBFBD><EFBFBD>ƻȤäƤ<C3A4><C6A4>뤫<EFBFBD><EBA4AB>ǧ<EFBFBD><C7A7><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EAA1BC><EFBFBD>Ȥ<EFBFBD><C8A4>ڤäƤ<C3A4><C6A4>ʤ<EFBFBD><CAA4><EFBFBD><EFBFBD>硢'ulimit' <20><><EFBFBD><EFBFBD><EFBFBD>ꤷ<EFBFBD><EAA4B7> mysqld <20>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD><EFBFBD><EAA1BC><EFBFBD>Ѹ³<D1B8><C2B3>̤<EFBFBD>¿<EFBFBD><C2BF><EFBFBD><EFBFBD><EFBFBD>뤫<EFBFBD><EBA4AB>swap space <20><><EFBFBD><EFBFBD><EFBFBD>䤷<EFBFBD>ƤߤƤ<DFA4><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><><EFBFBD><EFBFBD> address <20><> hostname <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>.",
|
"<22><><EFBFBD><EFBFBD> address <20><> hostname <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>.",
|
||||||
"Bad handshake",
|
"Bad handshake",
|
||||||
"<22>桼<EFBFBD><E6A1BC><EFBFBD><EFBFBD> '%-.32s@%-.64s' <20><> '%-.64s' <20>ǡ<EFBFBD><C7A1><EFBFBD><EFBFBD>١<EFBFBD><D9A1><EFBFBD><EFBFBD>ؤΥ<D8A4><CEA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݤ<EFBFBD><DDA4>ޤ<EFBFBD>",
|
"<22>桼<EFBFBD><E6A1BC><EFBFBD><EFBFBD> '%-.32s'@'%-.64s' <20><> '%-.64s' <20>ǡ<EFBFBD><C7A1><EFBFBD><EFBFBD>١<EFBFBD><D9A1><EFBFBD><EFBFBD>ؤΥ<D8A4><CEA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݤ<EFBFBD><DDA4>ޤ<EFBFBD>",
|
||||||
"<22>桼<EFBFBD><E6A1BC><EFBFBD><EFBFBD> '%-.32s@%-.64s' <20><><EFBFBD><EFBFBD><EFBFBD>ݤ<EFBFBD><DDA4>ޤ<EFBFBD>.(Using password: %s)",
|
"<22>桼<EFBFBD><E6A1BC><EFBFBD><EFBFBD> '%-.32s'@'%-.64s' <20><><EFBFBD><EFBFBD><EFBFBD>ݤ<EFBFBD><DDA4>ޤ<EFBFBD>.(Using password: %s)",
|
||||||
"<22>ǡ<EFBFBD><C7A1><EFBFBD><EFBFBD>١<EFBFBD><D9A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><F2A4B5A4>Ƥ<EFBFBD><C6A4>ޤ<EFBFBD><DEA4><EFBFBD>.",
|
"<22>ǡ<EFBFBD><C7A1><EFBFBD><EFBFBD>١<EFBFBD><D9A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><F2A4B5A4>Ƥ<EFBFBD><C6A4>ޤ<EFBFBD><DEA4><EFBFBD>.",
|
||||||
"<22><><EFBFBD>Υ<EFBFBD><CEA5>ޥ<EFBFBD><DEA5>ɤϲ<C9A4><CFB2><EFBFBD>",
|
"<22><><EFBFBD>Υ<EFBFBD><CEA5>ޥ<EFBFBD><DEA5>ɤϲ<C9A4><CFB2><EFBFBD>",
|
||||||
"Column '%-.64s' <20><> null <20>ˤϤǤ<CFA4><C7A4>ʤ<EFBFBD><CAA4>ΤǤ<CEA4>",
|
"Column '%-.64s' <20><> null <20>ˤϤǤ<CFA4><C7A4>ʤ<EFBFBD><CAA4>ΤǤ<CEA4>",
|
||||||
@ -145,8 +145,8 @@
|
|||||||
"Got error '%-.64s' from regexp",
|
"Got error '%-.64s' from regexp",
|
||||||
"Mixing of GROUP columns (MIN(),MAX(),COUNT()...) with no GROUP columns is illegal if there is no GROUP BY clause",
|
"Mixing of GROUP columns (MIN(),MAX(),COUNT()...) with no GROUP columns is illegal if there is no GROUP BY clause",
|
||||||
"<22>桼<EFBFBD><E6A1BC><EFBFBD><EFBFBD> '%-.32s' (<28>ۥ<EFBFBD><DBA5><EFBFBD> '%-.64s' <20>Υ桼<CEA5><E6A1BC><EFBFBD><EFBFBD>) <20>ϵ<EFBFBD><CFB5>Ĥ<EFBFBD><C4A4><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4>ޤ<EFBFBD><DEA4><EFBFBD>",
|
"<22>桼<EFBFBD><E6A1BC><EFBFBD><EFBFBD> '%-.32s' (<28>ۥ<EFBFBD><DBA5><EFBFBD> '%-.64s' <20>Υ桼<CEA5><E6A1BC><EFBFBD><EFBFBD>) <20>ϵ<EFBFBD><CFB5>Ĥ<EFBFBD><C4A4><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4>ޤ<EFBFBD><DEA4><EFBFBD>",
|
||||||
"<22><><EFBFBD>ޥ<EFBFBD><DEA5><EFBFBD> %-.16s <20><> <20>桼<EFBFBD><E6A1BC><EFBFBD><EFBFBD> '%-.32s@%-.64s' ,<2C>ơ<EFBFBD><C6A1>֥<EFBFBD> '%-.64s' <20><><EFBFBD>Ф<EFBFBD><D0A4>Ƶ<EFBFBD><C6B5>Ĥ<EFBFBD><C4A4><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4>ޤ<EFBFBD><DEA4><EFBFBD>",
|
"<22><><EFBFBD>ޥ<EFBFBD><DEA5><EFBFBD> %-.16s <20><> <20>桼<EFBFBD><E6A1BC><EFBFBD><EFBFBD> '%-.32s'@'%-.64s' ,<2C>ơ<EFBFBD><C6A1>֥<EFBFBD> '%-.64s' <20><><EFBFBD>Ф<EFBFBD><D0A4>Ƶ<EFBFBD><C6B5>Ĥ<EFBFBD><C4A4><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4>ޤ<EFBFBD><DEA4><EFBFBD>",
|
||||||
"<22><><EFBFBD>ޥ<EFBFBD><DEA5><EFBFBD> %-.16s <20><> <20>桼<EFBFBD><E6A1BC><EFBFBD><EFBFBD> '%-.32s@%-.64s'\n <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s' <20>ơ<EFBFBD><C6A1>֥<EFBFBD> '%-.64s' <20><><EFBFBD>Ф<EFBFBD><D0A4>Ƶ<EFBFBD><C6B5>Ĥ<EFBFBD><C4A4><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4>ޤ<EFBFBD><DEA4><EFBFBD>",
|
"<22><><EFBFBD>ޥ<EFBFBD><DEA5><EFBFBD> %-.16s <20><> <20>桼<EFBFBD><E6A1BC><EFBFBD><EFBFBD> '%-.32s'@'%-.64s'\n <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s' <20>ơ<EFBFBD><C6A1>֥<EFBFBD> '%-.64s' <20><><EFBFBD>Ф<EFBFBD><D0A4>Ƶ<EFBFBD><C6B5>Ĥ<EFBFBD><C4A4><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4>ޤ<EFBFBD><DEA4><EFBFBD>",
|
||||||
"Illegal GRANT/REVOKE command. Please consult the manual which privleges can be used.",
|
"Illegal GRANT/REVOKE command. Please consult the manual which privleges can be used.",
|
||||||
"The host or user argument to GRANT is too long",
|
"The host or user argument to GRANT is too long",
|
||||||
"Table '%-.64s.%s' doesn't exist",
|
"Table '%-.64s.%s' doesn't exist",
|
||||||
@ -214,7 +214,7 @@
|
|||||||
"DROP DATABASE not allowed while thread is holding global read lock",
|
"DROP DATABASE not allowed while thread is holding global read lock",
|
||||||
"CREATE DATABASE not allowed while thread is holding global read lock",
|
"CREATE DATABASE not allowed while thread is holding global read lock",
|
||||||
"Wrong arguments to %s",
|
"Wrong arguments to %s",
|
||||||
"%-.32s@%-.64s is not allowed to create new users",
|
"'%-.32s'@'%-.64s' is not allowed to create new users",
|
||||||
"Incorrect table definition; all MERGE tables must be in the same database",
|
"Incorrect table definition; all MERGE tables must be in the same database",
|
||||||
"Deadlock found when trying to get lock; Try restarting transaction",
|
"Deadlock found when trying to get lock; Try restarting transaction",
|
||||||
"The used table type doesn't support FULLTEXT indexes",
|
"The used table type doesn't support FULLTEXT indexes",
|
||||||
@ -269,3 +269,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -45,8 +45,8 @@
|
|||||||
"Out of memory; mysqld<6C><64> <20>Ǵٸ<C7B4> <20><><EFBFBD>μ<EFBFBD><CEBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>밡<EFBFBD><EBB0A1><EFBFBD><EFBFBD> <20><DEB8> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> äũ<C3A4>Ͻÿ<CFBD>. <20><><EFBFBD><EFBFBD> <20><EFBFBD><D7B7><EFBFBD> <20>ʴٸ<CAB4> ulimit <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>̿<EFBFBD><CCBF><EFBFBD>Ͽ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><DEB8> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20>ֵ<EFBFBD><D6B5><EFBFBD> <20>ϰų<CFB0> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>̽<EFBFBD><CCBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ű<EFBFBD>ÿ<EFBFBD>",
|
"Out of memory; mysqld<6C><64> <20>Ǵٸ<C7B4> <20><><EFBFBD>μ<EFBFBD><CEBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>밡<EFBFBD><EBB0A1><EFBFBD><EFBFBD> <20><DEB8> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> äũ<C3A4>Ͻÿ<CFBD>. <20><><EFBFBD><EFBFBD> <20><EFBFBD><D7B7><EFBFBD> <20>ʴٸ<CAB4> ulimit <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>̿<EFBFBD><CCBF><EFBFBD>Ͽ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><DEB8> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20>ֵ<EFBFBD><D6B5><EFBFBD> <20>ϰų<CFB0> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>̽<EFBFBD><CCBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ű<EFBFBD>ÿ<EFBFBD>",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ǻ<EFBFBD><C7BB><EFBFBD><EFBFBD> ȣ<><C8A3>Ʈ<EFBFBD≯<EFBFBD><CCB8><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ǻ<EFBFBD><C7BB><EFBFBD><EFBFBD> ȣ<><C8A3>Ʈ<EFBFBD≯<EFBFBD><CCB8><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.",
|
||||||
"Bad handshake",
|
"Bad handshake",
|
||||||
"'%-.32s@%-.64s' <20><><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD> '%-.64s' <20><><EFBFBD><EFBFBD>Ÿ<EFBFBD><C5B8><EFBFBD>̽<EFBFBD><CCBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ź<EFBFBD> <20>Ǿ<EFBFBD><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>.",
|
"'%-.32s'@'%-.64s' <20><><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD> '%-.64s' <20><><EFBFBD><EFBFBD>Ÿ<EFBFBD><C5B8><EFBFBD>̽<EFBFBD><CCBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ź<EFBFBD> <20>Ǿ<EFBFBD><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>.",
|
||||||
"'%-.32s@%-.64s' <20><><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ź<EFBFBD> <20>Ǿ<EFBFBD><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>. (Using password: %s)",
|
"'%-.32s'@'%-.64s' <20><><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ź<EFBFBD> <20>Ǿ<EFBFBD><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>. (Using password: %s)",
|
||||||
"<22><><EFBFBD>õ<EFBFBD> <20><><EFBFBD><EFBFBD>Ÿ<EFBFBD><C5B8><EFBFBD>̽<EFBFBD><CCBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.",
|
"<22><><EFBFBD>õ<EFBFBD> <20><><EFBFBD><EFBFBD>Ÿ<EFBFBD><C5B8><EFBFBD>̽<EFBFBD><CCBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.",
|
||||||
"<22><><EFBFBD>ɾ <20><><EFBFBD><EFBFBD> <20>ھ<F0B8A3B0><DABE><EFBFBD>...",
|
"<22><><EFBFBD>ɾ <20><><EFBFBD><EFBFBD> <20>ھ<F0B8A3B0><DABE><EFBFBD>...",
|
||||||
"Į<><C4AE> '%-.64s'<27><> <20><>(Null)<29><> <20>Ǹ<EFBFBD> <20>ȵ˴ϴ<CBB4>. ",
|
"Į<><C4AE> '%-.64s'<27><> <20><>(Null)<29><> <20>Ǹ<EFBFBD> <20>ȵ˴ϴ<CBB4>. ",
|
||||||
@ -143,8 +143,8 @@
|
|||||||
"regexp<78><70><EFBFBD><EFBFBD> '%-.64s'<27><> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.",
|
"regexp<78><70><EFBFBD><EFBFBD> '%-.64s'<27><> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.",
|
||||||
"Mixing of GROUP Į<><C4AE>s (MIN(),MAX(),COUNT()...) with no GROUP Į<><C4AE>s is illegal if there is no GROUP BY clause",
|
"Mixing of GROUP Į<><C4AE>s (MIN(),MAX(),COUNT()...) with no GROUP Į<><C4AE>s is illegal if there is no GROUP BY clause",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.32s' (ȣ<><C8A3>Ʈ '%-.64s')<29><> <20><><EFBFBD>Ͽ<EFBFBD> <20><><EFBFBD>ǵ<EFBFBD> <20><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.32s' (ȣ<><C8A3>Ʈ '%-.64s')<29><> <20><><EFBFBD>Ͽ<EFBFBD> <20><><EFBFBD>ǵ<EFBFBD> <20><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.",
|
||||||
"'%-.16s' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ڿ<EFBFBD><DABF><EFBFBD> <20>źεǾ<CEB5><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>. : '%-.32s@%-.64s' for <20><><EFBFBD>̺<EFBFBD> '%-.64s'",
|
"'%-.16s' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ڿ<EFBFBD><DABF><EFBFBD> <20>źεǾ<CEB5><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>. : '%-.32s'@'%-.64s' for <20><><EFBFBD>̺<EFBFBD> '%-.64s'",
|
||||||
"'%-.16s' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ڿ<EFBFBD><DABF><EFBFBD> <20>źεǾ<CEB5><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>. : '%-.32s@%-.64s' for Į<><C4AE> '%-.64s' in <20><><EFBFBD>̺<EFBFBD> '%-.64s'",
|
"'%-.16s' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ڿ<EFBFBD><DABF><EFBFBD> <20>źεǾ<CEB5><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>. : '%-.32s'@'%-.64s' for Į<><C4AE> '%-.64s' in <20><><EFBFBD>̺<EFBFBD> '%-.64s'",
|
||||||
"<22>߸<EFBFBD><DFB8><EFBFBD> GRANT/REVOKE <20><><EFBFBD><EFBFBD>. <20> <20>Ǹ<EFBFBD><C7B8><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ǿ<EFBFBD> <20><> <20><> <20>ִ<EFBFBD><D6B4><EFBFBD> <20><EFBFBD><DEB4><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ÿ<EFBFBD>.",
|
"<22>߸<EFBFBD><DFB8><EFBFBD> GRANT/REVOKE <20><><EFBFBD><EFBFBD>. <20> <20>Ǹ<EFBFBD><C7B8><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ǿ<EFBFBD> <20><> <20><> <20>ִ<EFBFBD><D6B4><EFBFBD> <20><EFBFBD><DEB4><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ÿ<EFBFBD>.",
|
||||||
"<22><><EFBFBD><EFBFBD>(GRANT)<29><> <20><><EFBFBD>Ͽ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ڳ<EFBFBD> ȣ<><C8A3>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ʹ<EFBFBD> <20><><EFBFBD>ϴ<EFBFBD>.",
|
"<22><><EFBFBD><EFBFBD>(GRANT)<29><> <20><><EFBFBD>Ͽ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ڳ<EFBFBD> ȣ<><C8A3>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ʹ<EFBFBD> <20><><EFBFBD>ϴ<EFBFBD>.",
|
||||||
"<22><><EFBFBD>̺<EFBFBD> '%-.64s.%s' <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ʽ<EFBFBD><CABD>ϴ<EFBFBD>.",
|
"<22><><EFBFBD>̺<EFBFBD> '%-.64s.%s' <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ʽ<EFBFBD><CABD>ϴ<EFBFBD>.",
|
||||||
@ -212,7 +212,7 @@
|
|||||||
"DROP DATABASE not allowed while thread is holding global read lock",
|
"DROP DATABASE not allowed while thread is holding global read lock",
|
||||||
"CREATE DATABASE not allowed while thread is holding global read lock",
|
"CREATE DATABASE not allowed while thread is holding global read lock",
|
||||||
"Wrong arguments to %s",
|
"Wrong arguments to %s",
|
||||||
"%-.32s@%-.64s is not allowed to create new users",
|
"'%-.32s'@'%-.64s' is not allowed to create new users",
|
||||||
"Incorrect table definition; all MERGE tables must be in the same database",
|
"Incorrect table definition; all MERGE tables must be in the same database",
|
||||||
"Deadlock found when trying to get lock; Try restarting transaction",
|
"Deadlock found when trying to get lock; Try restarting transaction",
|
||||||
"The used table type doesn't support FULLTEXT indexes",
|
"The used table type doesn't support FULLTEXT indexes",
|
||||||
@ -267,3 +267,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -47,8 +47,8 @@
|
|||||||
"Tomt for tr<74>d plass/minne",
|
"Tomt for tr<74>d plass/minne",
|
||||||
"Kan ikkje f<> tak i vertsnavn for di adresse",
|
"Kan ikkje f<> tak i vertsnavn for di adresse",
|
||||||
"Feil handtrykk (handshake)",
|
"Feil handtrykk (handshake)",
|
||||||
"Tilgang ikkje tillate for brukar: '%-.32s@%-.64s' til databasen '%-.64s' nekta",
|
"Tilgang ikkje tillate for brukar: '%-.32s'@'%-.64s' til databasen '%-.64s' nekta",
|
||||||
"Tilgang ikke tillate for brukar: '%-.32s@%-.64s' (Brukar passord: %s)",
|
"Tilgang ikke tillate for brukar: '%-.32s'@'%-.64s' (Brukar passord: %s)",
|
||||||
"Ingen database vald",
|
"Ingen database vald",
|
||||||
"Ukjent kommando",
|
"Ukjent kommando",
|
||||||
"Kolonne '%-.64s' kan ikkje vere null",
|
"Kolonne '%-.64s' kan ikkje vere null",
|
||||||
@ -145,8 +145,8 @@
|
|||||||
"Got error '%-.64s' from regexp",
|
"Got error '%-.64s' from regexp",
|
||||||
"Mixing of GROUP columns (MIN(),MAX(),COUNT()...) with no GROUP columns is illegal if there is no GROUP BY clause",
|
"Mixing of GROUP columns (MIN(),MAX(),COUNT()...) with no GROUP columns is illegal if there is no GROUP BY clause",
|
||||||
"There is no such grant defined for user '%-.32s' on host '%-.64s'",
|
"There is no such grant defined for user '%-.32s' on host '%-.64s'",
|
||||||
"%-.16s command denied to user: '%-.32s@%-.64s' for table '%-.64s'",
|
"%-.16s command denied to user: '%-.32s'@'%-.64s' for table '%-.64s'",
|
||||||
"%-.16s command denied to user: '%-.32s@%-.64s' for column '%-.64s' in table '%-.64s'",
|
"%-.16s command denied to user: '%-.32s'@'%-.64s' for column '%-.64s' in table '%-.64s'",
|
||||||
"Illegal GRANT/REVOKE command. Please consult the manual which privleges can be used.",
|
"Illegal GRANT/REVOKE command. Please consult the manual which privleges can be used.",
|
||||||
"The host or user argument to GRANT is too long",
|
"The host or user argument to GRANT is too long",
|
||||||
"Table '%-.64s.%s' doesn't exist",
|
"Table '%-.64s.%s' doesn't exist",
|
||||||
@ -214,7 +214,7 @@
|
|||||||
"DROP DATABASE not allowed while thread is holding global read lock",
|
"DROP DATABASE not allowed while thread is holding global read lock",
|
||||||
"CREATE DATABASE not allowed while thread is holding global read lock",
|
"CREATE DATABASE not allowed while thread is holding global read lock",
|
||||||
"Wrong arguments to %s",
|
"Wrong arguments to %s",
|
||||||
"%-.32s@%-.64s is not allowed to create new users",
|
"'%-.32s'@'%-.64s' is not allowed to create new users",
|
||||||
"Incorrect table definition; all MERGE tables must be in the same database",
|
"Incorrect table definition; all MERGE tables must be in the same database",
|
||||||
"Deadlock found when trying to get lock; Try restarting transaction",
|
"Deadlock found when trying to get lock; Try restarting transaction",
|
||||||
"The used table type doesn't support FULLTEXT indexes",
|
"The used table type doesn't support FULLTEXT indexes",
|
||||||
@ -269,3 +269,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -47,8 +47,8 @@
|
|||||||
"Tomt for tr<74>d plass/minne",
|
"Tomt for tr<74>d plass/minne",
|
||||||
"Kan ikke f<> tak i vertsnavn for din adresse",
|
"Kan ikke f<> tak i vertsnavn for din adresse",
|
||||||
"Feil h<>ndtrykk (handshake)",
|
"Feil h<>ndtrykk (handshake)",
|
||||||
"Tilgang nektet for bruker: '%-.32s@%-.64s' til databasen '%-.64s' nektet",
|
"Tilgang nektet for bruker: '%-.32s'@'%-.64s' til databasen '%-.64s' nektet",
|
||||||
"Tilgang nektet for bruker: '%-.32s@%-.64s' (Bruker passord: %s)",
|
"Tilgang nektet for bruker: '%-.32s'@'%-.64s' (Bruker passord: %s)",
|
||||||
"Ingen database valgt",
|
"Ingen database valgt",
|
||||||
"Ukjent kommando",
|
"Ukjent kommando",
|
||||||
"Kolonne '%-.64s' kan ikke vere null",
|
"Kolonne '%-.64s' kan ikke vere null",
|
||||||
@ -145,8 +145,8 @@
|
|||||||
"Got error '%-.64s' from regexp",
|
"Got error '%-.64s' from regexp",
|
||||||
"Mixing of GROUP columns (MIN(),MAX(),COUNT()...) with no GROUP columns is illegal if there is no GROUP BY clause",
|
"Mixing of GROUP columns (MIN(),MAX(),COUNT()...) with no GROUP columns is illegal if there is no GROUP BY clause",
|
||||||
"There is no such grant defined for user '%-.32s' on host '%-.64s'",
|
"There is no such grant defined for user '%-.32s' on host '%-.64s'",
|
||||||
"%-.16s command denied to user: '%-.32s@%-.64s' for table '%-.64s'",
|
"%-.16s command denied to user: '%-.32s'@'%-.64s' for table '%-.64s'",
|
||||||
"%-.16s command denied to user: '%-.32s@%-.64s' for column '%-.64s' in table '%-.64s'",
|
"%-.16s command denied to user: '%-.32s'@'%-.64s' for column '%-.64s' in table '%-.64s'",
|
||||||
"Illegal GRANT/REVOKE command. Please consult the manual which privleges can be used.",
|
"Illegal GRANT/REVOKE command. Please consult the manual which privleges can be used.",
|
||||||
"The host or user argument to GRANT is too long",
|
"The host or user argument to GRANT is too long",
|
||||||
"Table '%-.64s.%s' doesn't exist",
|
"Table '%-.64s.%s' doesn't exist",
|
||||||
@ -214,7 +214,7 @@
|
|||||||
"DROP DATABASE not allowed while thread is holding global read lock",
|
"DROP DATABASE not allowed while thread is holding global read lock",
|
||||||
"CREATE DATABASE not allowed while thread is holding global read lock",
|
"CREATE DATABASE not allowed while thread is holding global read lock",
|
||||||
"Wrong arguments to %s",
|
"Wrong arguments to %s",
|
||||||
"%-.32s@%-.64s is not allowed to create new users",
|
"'%-.32s'@'%-.64s' is not allowed to create new users",
|
||||||
"Incorrect table definition; all MERGE tables must be in the same database",
|
"Incorrect table definition; all MERGE tables must be in the same database",
|
||||||
"Deadlock found when trying to get lock; Try restarting transaction",
|
"Deadlock found when trying to get lock; Try restarting transaction",
|
||||||
"The used table type doesn't support FULLTEXT indexes",
|
"The used table type doesn't support FULLTEXT indexes",
|
||||||
@ -269,3 +269,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -49,8 +49,8 @@
|
|||||||
"Zbyt ma<6D>o miejsca/pami<6D>ci dla w?tku",
|
"Zbyt ma<6D>o miejsca/pami<6D>ci dla w?tku",
|
||||||
"Nie mo<6D>na otrzyma<6D> nazwy hosta dla twojego adresu",
|
"Nie mo<6D>na otrzyma<6D> nazwy hosta dla twojego adresu",
|
||||||
"Z<>y uchwyt(handshake)",
|
"Z<>y uchwyt(handshake)",
|
||||||
"Access denied for user: '%-.32s@%-.64s' to database '%-.64s'",
|
"Access denied for user: '%-.32s'@'%-.64s' to database '%-.64s'",
|
||||||
"Access denied for user: '%-.32s@%-.64s' (Using password: %s)",
|
"Access denied for user: '%-.32s'@'%-.64s' (Using password: %s)",
|
||||||
"Nie wybrano <20>adnej bazy danych",
|
"Nie wybrano <20>adnej bazy danych",
|
||||||
"Nieznana komenda",
|
"Nieznana komenda",
|
||||||
"Kolumna '%-.64s' nie mo<6D>e by<62> null",
|
"Kolumna '%-.64s' nie mo<6D>e by<62> null",
|
||||||
@ -147,8 +147,8 @@
|
|||||||
"Got error '%-.64s' from regexp",
|
"Got error '%-.64s' from regexp",
|
||||||
"Mixing of GROUP columns (MIN(),MAX(),COUNT()...) with no GROUP columns is illegal if there is no GROUP BY clause",
|
"Mixing of GROUP columns (MIN(),MAX(),COUNT()...) with no GROUP columns is illegal if there is no GROUP BY clause",
|
||||||
"There is no such grant defined for user '%-.32s' on host '%-.64s'",
|
"There is no such grant defined for user '%-.32s' on host '%-.64s'",
|
||||||
"%-.16s command denied to user: '%-.32s@%-.64s' for table '%-.64s'",
|
"%-.16s command denied to user: '%-.32s'@'%-.64s' for table '%-.64s'",
|
||||||
"%-.16s command denied to user: '%-.32s@%-.64s' for column '%-.64s' in table '%-.64s'",
|
"%-.16s command denied to user: '%-.32s'@'%-.64s' for column '%-.64s' in table '%-.64s'",
|
||||||
"Illegal GRANT/REVOKE command. Please consult the manual which privleges can be used.",
|
"Illegal GRANT/REVOKE command. Please consult the manual which privleges can be used.",
|
||||||
"The host or user argument to GRANT is too long",
|
"The host or user argument to GRANT is too long",
|
||||||
"Table '%-.64s.%s' doesn't exist",
|
"Table '%-.64s.%s' doesn't exist",
|
||||||
@ -216,7 +216,7 @@
|
|||||||
"DROP DATABASE not allowed while thread is holding global read lock",
|
"DROP DATABASE not allowed while thread is holding global read lock",
|
||||||
"CREATE DATABASE not allowed while thread is holding global read lock",
|
"CREATE DATABASE not allowed while thread is holding global read lock",
|
||||||
"Wrong arguments to %s",
|
"Wrong arguments to %s",
|
||||||
"%-.32s@%-.64s is not allowed to create new users",
|
"'%-.32s'@'%-.64s' is not allowed to create new users",
|
||||||
"Incorrect table definition; all MERGE tables must be in the same database",
|
"Incorrect table definition; all MERGE tables must be in the same database",
|
||||||
"Deadlock found when trying to get lock; Try restarting transaction",
|
"Deadlock found when trying to get lock; Try restarting transaction",
|
||||||
"The used table type doesn't support FULLTEXT indexes",
|
"The used table type doesn't support FULLTEXT indexes",
|
||||||
@ -271,3 +271,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -45,8 +45,8 @@
|
|||||||
"Sem mem<65>ria. Verifique se o mysqld ou algum outro processo est<73> usando toda mem<65>ria dispon<6F>vel. Se n<>o, voc<6F> pode ter que usar 'ulimit' para permitir ao mysqld usar mais mem<65>ria ou voc<6F> pode adicionar mais <20>rea de 'swap'",
|
"Sem mem<65>ria. Verifique se o mysqld ou algum outro processo est<73> usando toda mem<65>ria dispon<6F>vel. Se n<>o, voc<6F> pode ter que usar 'ulimit' para permitir ao mysqld usar mais mem<65>ria ou voc<6F> pode adicionar mais <20>rea de 'swap'",
|
||||||
"N<>o pode obter nome do 'host' para seu endere<72>o",
|
"N<>o pode obter nome do 'host' para seu endere<72>o",
|
||||||
"Negocia<69><61>o de acesso falhou",
|
"Negocia<69><61>o de acesso falhou",
|
||||||
"Acesso negado para o usu<73>rio '%-.32s@%-.64s' ao banco de dados '%-.64s'",
|
"Acesso negado para o usu<73>rio '%-.32s'@'%-.64s' ao banco de dados '%-.64s'",
|
||||||
"Acesso negado para o usu<73>rio '%-.32s@%-.64s' (senha usada: %s)",
|
"Acesso negado para o usu<73>rio '%-.32s'@'%-.64s' (senha usada: %s)",
|
||||||
"Nenhum banco de dados foi selecionado",
|
"Nenhum banco de dados foi selecionado",
|
||||||
"Comando desconhecido",
|
"Comando desconhecido",
|
||||||
"Coluna '%-.64s' n<>o pode ser vazia",
|
"Coluna '%-.64s' n<>o pode ser vazia",
|
||||||
@ -143,8 +143,8 @@
|
|||||||
"Obteve erro '%-.64s' em regexp",
|
"Obteve erro '%-.64s' em regexp",
|
||||||
"Mistura de colunas agrupadas (com MIN(), MAX(), COUNT(), ...) com colunas n<>o agrupadas <20> ilegal, se n<>o existir uma cl<63>usula de agrupamento (cl<63>usula GROUP BY)",
|
"Mistura de colunas agrupadas (com MIN(), MAX(), COUNT(), ...) com colunas n<>o agrupadas <20> ilegal, se n<>o existir uma cl<63>usula de agrupamento (cl<63>usula GROUP BY)",
|
||||||
"N<>o existe tal permiss<73>o (grant) definida para o usu<73>rio '%-.32s' no 'host' '%-.64s'",
|
"N<>o existe tal permiss<73>o (grant) definida para o usu<73>rio '%-.32s' no 'host' '%-.64s'",
|
||||||
"Comando '%-.16s' negado para o usu<73>rio '%-.32s@%-.64s' na tabela '%-.64s'",
|
"Comando '%-.16s' negado para o usu<73>rio '%-.32s'@'%-.64s' na tabela '%-.64s'",
|
||||||
"Comando '%-.16s' negado para o usu<73>rio '%-.32s@%-.64s' na coluna '%-.64s', na tabela '%-.64s'",
|
"Comando '%-.16s' negado para o usu<73>rio '%-.32s'@'%-.64s' na coluna '%-.64s', na tabela '%-.64s'",
|
||||||
"Comando GRANT/REVOKE ilegal. Por favor consulte no manual quais privil<69>gios podem ser usados.",
|
"Comando GRANT/REVOKE ilegal. Por favor consulte no manual quais privil<69>gios podem ser usados.",
|
||||||
"Argumento de 'host' ou de usu<73>rio para o GRANT <20> longo demais",
|
"Argumento de 'host' ou de usu<73>rio para o GRANT <20> longo demais",
|
||||||
"Tabela '%-.64s.%-.64s' n<>o existe",
|
"Tabela '%-.64s.%-.64s' n<>o existe",
|
||||||
@ -212,7 +212,7 @@
|
|||||||
"DROP DATABASE n<>o permitido enquanto uma 'thread' est<73> mantendo um travamento global de leitura",
|
"DROP DATABASE n<>o permitido enquanto uma 'thread' est<73> mantendo um travamento global de leitura",
|
||||||
"CREATE DATABASE n<>o permitido enquanto uma 'thread' est<73> mantendo um travamento global de leitura",
|
"CREATE DATABASE n<>o permitido enquanto uma 'thread' est<73> mantendo um travamento global de leitura",
|
||||||
"Argumentos errados para %s",
|
"Argumentos errados para %s",
|
||||||
"N<>o <20> permitido a %-.32s@%-.64s criar novos usu<73>rios",
|
"N<>o <20> permitido a '%-.32s'@'%-.64s' criar novos usu<73>rios",
|
||||||
"Defini<6E><69>o incorreta da tabela. Todas as tabelas contidas na jun<75><6E>o devem estar no mesmo banco de dados.",
|
"Defini<6E><69>o incorreta da tabela. Todas as tabelas contidas na jun<75><6E>o devem estar no mesmo banco de dados.",
|
||||||
"Encontrado um travamento fatal (deadlock) quando tentava obter uma trava. Tente reiniciar a transa<73><61>o.",
|
"Encontrado um travamento fatal (deadlock) quando tentava obter uma trava. Tente reiniciar a transa<73><61>o.",
|
||||||
"O tipo de tabela utilizado n<>o suporta <20>ndices de texto completo (fulltext indexes)",
|
"O tipo de tabela utilizado n<>o suporta <20>ndices de texto completo (fulltext indexes)",
|
||||||
@ -267,3 +267,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -49,8 +49,8 @@
|
|||||||
"Out of memory; Verifica daca mysqld sau vreun alt proces foloseste toate memoria disponbila. Altfel, trebuie sa folosesi 'ulimit' ca sa permiti lui memoria disponbila. Altfel, trebuie sa folosesi 'ulimit' ca sa permiti lui mysqld sa foloseasca mai multa memorie ori adauga mai mult spatiu pentru swap (swap space)",
|
"Out of memory; Verifica daca mysqld sau vreun alt proces foloseste toate memoria disponbila. Altfel, trebuie sa folosesi 'ulimit' ca sa permiti lui memoria disponbila. Altfel, trebuie sa folosesi 'ulimit' ca sa permiti lui mysqld sa foloseasca mai multa memorie ori adauga mai mult spatiu pentru swap (swap space)",
|
||||||
"Nu pot sa obtin hostname-ul adresei tale",
|
"Nu pot sa obtin hostname-ul adresei tale",
|
||||||
"Prost inceput de conectie (bad handshake)",
|
"Prost inceput de conectie (bad handshake)",
|
||||||
"Acces interzis pentru utilizatorul: '%-.32s@%-.64s' la baza de date '%-.64s'",
|
"Acces interzis pentru utilizatorul: '%-.32s'@'%-.64s' la baza de date '%-.64s'",
|
||||||
"Acces interzis pentru utilizatorul: '%-.32s@%-.64s' (Folosind parola: %s)",
|
"Acces interzis pentru utilizatorul: '%-.32s'@'%-.64s' (Folosind parola: %s)",
|
||||||
"Nici o baza de data nu a fost selectata inca",
|
"Nici o baza de data nu a fost selectata inca",
|
||||||
"Comanda invalida",
|
"Comanda invalida",
|
||||||
"Coloana '%-.64s' nu poate sa fie null",
|
"Coloana '%-.64s' nu poate sa fie null",
|
||||||
@ -147,8 +147,8 @@
|
|||||||
"Eroarea '%-.64s' obtinuta din expresia regulara (regexp)",
|
"Eroarea '%-.64s' obtinuta din expresia regulara (regexp)",
|
||||||
"Amestecarea de coloane GROUP (MIN(),MAX(),COUNT()...) fara coloane GROUP este ilegala daca nu exista o clauza GROUP BY",
|
"Amestecarea de coloane GROUP (MIN(),MAX(),COUNT()...) fara coloane GROUP este ilegala daca nu exista o clauza GROUP BY",
|
||||||
"Nu exista un astfel de grant definit pentru utilzatorul '%-.32s' de pe host-ul '%-.64s'",
|
"Nu exista un astfel de grant definit pentru utilzatorul '%-.32s' de pe host-ul '%-.64s'",
|
||||||
"Comanda %-.16s interzisa utilizatorului: '%-.32s@%-.64s' pentru tabela '%-.64s'",
|
"Comanda %-.16s interzisa utilizatorului: '%-.32s'@'%-.64s' pentru tabela '%-.64s'",
|
||||||
"Comanda %-.16s interzisa utilizatorului: '%-.32s@%-.64s' pentru coloana '%-.64s' in tabela '%-.64s'",
|
"Comanda %-.16s interzisa utilizatorului: '%-.32s'@'%-.64s' pentru coloana '%-.64s' in tabela '%-.64s'",
|
||||||
"Comanda GRANT/REVOKE ilegala. Consultati manualul in privinta privilegiilor ce pot fi folosite.",
|
"Comanda GRANT/REVOKE ilegala. Consultati manualul in privinta privilegiilor ce pot fi folosite.",
|
||||||
"Argumentul host-ului sau utilizatorului pentru GRANT e prea lung",
|
"Argumentul host-ului sau utilizatorului pentru GRANT e prea lung",
|
||||||
"Tabela '%-.64s.%-.64s' nu exista",
|
"Tabela '%-.64s.%-.64s' nu exista",
|
||||||
@ -216,7 +216,7 @@
|
|||||||
"DROP DATABASE not allowed while thread is holding global read lock",
|
"DROP DATABASE not allowed while thread is holding global read lock",
|
||||||
"CREATE DATABASE not allowed while thread is holding global read lock",
|
"CREATE DATABASE not allowed while thread is holding global read lock",
|
||||||
"Wrong arguments to %s",
|
"Wrong arguments to %s",
|
||||||
"%-.32s@%-.64s is not allowed to create new users",
|
"'%-.32s'@'%-.64s' is not allowed to create new users",
|
||||||
"Incorrect table definition; all MERGE tables must be in the same database",
|
"Incorrect table definition; all MERGE tables must be in the same database",
|
||||||
"Deadlock found when trying to get lock; Try restarting transaction",
|
"Deadlock found when trying to get lock; Try restarting transaction",
|
||||||
"The used table type doesn't support FULLTEXT indexes",
|
"The used table type doesn't support FULLTEXT indexes",
|
||||||
@ -271,3 +271,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -47,8 +47,8 @@
|
|||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> mysqld <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD> <20><><EFBFBD>, <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ulimit, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> mysqld <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> mysqld <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD> <20><><EFBFBD>, <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ulimit, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> mysqld <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.32s@%-.64s' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.32s'@'%-.64s' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.32s@%-.64s' (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: %s)",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.32s'@'%-.64s' (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: %s)",
|
||||||
"<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s' <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> NULL",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s' <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> NULL",
|
||||||
@ -145,8 +145,8 @@
|
|||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s' <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s' <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (GROUP) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (MIN(),MAX(),COUNT(),...) <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> GROUP BY",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (GROUP) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (MIN(),MAX(),COUNT(),...) <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> GROUP BY",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.32s' <20><> <20><><EFBFBD><EFBFBD><EFBFBD> '%-.64s'",
|
"<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.32s' <20><> <20><><EFBFBD><EFBFBD><EFBFBD> '%-.64s'",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %-.16s <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.32s@%-.64s' <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s'",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %-.16s <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.32s'@'%-.64s' <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s'",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %-.16s <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.32s@%-.64s' <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s' <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s'",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %-.16s <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.32s'@'%-.64s' <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s' <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s'",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GRANT <20><><EFBFBD> REVOKE. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GRANT <20><><EFBFBD> REVOKE. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> GRANT",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> GRANT",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s.%-.64s' <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s.%-.64s' <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
@ -214,7 +214,7 @@
|
|||||||
"<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> DROP DATABASE, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> DROP DATABASE, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CREATE DATABASE, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CREATE DATABASE, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> %s",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> %s",
|
||||||
"%-.32s@%-.64s <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"'%-.32s'@'%-.64s' <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>; <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> MERGE <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>; <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> MERGE <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
@ -269,3 +269,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -51,8 +51,8 @@
|
|||||||
"Nema memorije; Proverite da li MySQL server ili neki drugi proces koristi svu slobodnu memoriju. (UNIX: Ako ne, probajte da upotrebite 'ulimit' komandu da biste dozvolili daemon-u da koristi vi<76>e memorije ili probajte da dodate vi<76>e swap memorije)",
|
"Nema memorije; Proverite da li MySQL server ili neki drugi proces koristi svu slobodnu memoriju. (UNIX: Ako ne, probajte da upotrebite 'ulimit' komandu da biste dozvolili daemon-u da koristi vi<76>e memorije ili probajte da dodate vi<76>e swap memorije)",
|
||||||
"Ne mogu da dobijem ime host-a za va<76>u IP adresu",
|
"Ne mogu da dobijem ime host-a za va<76>u IP adresu",
|
||||||
"Lo<4C> po<70>etak komunikacije (handshake)",
|
"Lo<4C> po<70>etak komunikacije (handshake)",
|
||||||
"Pristup je zabranjen korisniku '%-.32s@%-.64s' za bazu '%-.64s'",
|
"Pristup je zabranjen korisniku '%-.32s'@'%-.64s' za bazu '%-.64s'",
|
||||||
"Pristup je zabranjen korisniku '%-.32s@%-.64s' (koristi lozinku: '%s')",
|
"Pristup je zabranjen korisniku '%-.32s'@'%-.64s' (koristi lozinku: '%s')",
|
||||||
"Ni jedna baza nije selektovana",
|
"Ni jedna baza nije selektovana",
|
||||||
"Nepoznata komanda",
|
"Nepoznata komanda",
|
||||||
"Kolona '%-.64s' ne mo<6D>e biti NULL",
|
"Kolona '%-.64s' ne mo<6D>e biti NULL",
|
||||||
@ -149,8 +149,8 @@
|
|||||||
"Funkcija regexp je vratila gre<72>ku '%-.64s'",
|
"Funkcija regexp je vratila gre<72>ku '%-.64s'",
|
||||||
"Upotreba agregatnih funkcija (MIN(),MAX(),COUNT()...) bez 'GROUP' kolona je pogre<72>na ako ne postoji 'GROUP BY' iskaz",
|
"Upotreba agregatnih funkcija (MIN(),MAX(),COUNT()...) bez 'GROUP' kolona je pogre<72>na ako ne postoji 'GROUP BY' iskaz",
|
||||||
"Ne postoji odobrenje za pristup korisniku '%-.32s' na host-u '%-.64s'",
|
"Ne postoji odobrenje za pristup korisniku '%-.32s' na host-u '%-.64s'",
|
||||||
"%-.16s komanda zabranjena za korisnika '%-.32s@%-.64s' za tabelu '%-.64s'",
|
"%-.16s komanda zabranjena za korisnika '%-.32s'@'%-.64s' za tabelu '%-.64s'",
|
||||||
"%-.16s komanda zabranjena za korisnika '%-.32s@%-.64s' za kolonu '%-.64s' iz tabele '%-.64s'",
|
"%-.16s komanda zabranjena za korisnika '%-.32s'@'%-.64s' za kolonu '%-.64s' iz tabele '%-.64s'",
|
||||||
"Pogre<72>na 'GRANT' odnosno 'REVOKE' komanda. Molim Vas pogledajte u priru<72>niku koje vrednosti mogu biti upotrebljene.",
|
"Pogre<72>na 'GRANT' odnosno 'REVOKE' komanda. Molim Vas pogledajte u priru<72>niku koje vrednosti mogu biti upotrebljene.",
|
||||||
"Argument 'host' ili 'korisnik' prosle<6C>en komandi 'GRANT' je preduga<67>ak",
|
"Argument 'host' ili 'korisnik' prosle<6C>en komandi 'GRANT' je preduga<67>ak",
|
||||||
"Tabela '%-.64s.%-.64s' ne postoji",
|
"Tabela '%-.64s.%-.64s' ne postoji",
|
||||||
@ -218,7 +218,7 @@
|
|||||||
"Komanda 'DROP DATABASE' nije dozvoljena dok thread globalno zaklju<6A>ava <20>itanje podataka",
|
"Komanda 'DROP DATABASE' nije dozvoljena dok thread globalno zaklju<6A>ava <20>itanje podataka",
|
||||||
"Komanda 'CREATE DATABASE' nije dozvoljena dok thread globalno zaklju<6A>ava <20>itanje podataka",
|
"Komanda 'CREATE DATABASE' nije dozvoljena dok thread globalno zaklju<6A>ava <20>itanje podataka",
|
||||||
"Pogre<72>ni argumenti prosle<6C>eni na %s",
|
"Pogre<72>ni argumenti prosle<6C>eni na %s",
|
||||||
"Korisniku %-.32s@%-.64s nije dozvoljeno da kreira nove korisnike",
|
"Korisniku '%-.32s'@'%-.64s' nije dozvoljeno da kreira nove korisnike",
|
||||||
"Pogre<72>na definicija tabele; sve 'MERGE' tabele moraju biti u istoj bazi podataka",
|
"Pogre<72>na definicija tabele; sve 'MERGE' tabele moraju biti u istoj bazi podataka",
|
||||||
"Unakrsno zaklju<6A>avanje prona<6E>eno kada sam poku<6B>ao da dobijem pravo na zaklju<6A>avanje; Probajte da restartujete transakciju",
|
"Unakrsno zaklju<6A>avanje prona<6E>eno kada sam poku<6B>ao da dobijem pravo na zaklju<6A>avanje; Probajte da restartujete transakciju",
|
||||||
"Upotrebljeni tip tabele ne podr<64>ava 'FULLTEXT' indekse",
|
"Upotrebljeni tip tabele ne podr<64>ava 'FULLTEXT' indekse",
|
||||||
@ -263,3 +263,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -53,8 +53,8 @@
|
|||||||
"M<>lo miesta-pam<61>ti pre vl<76>kno",
|
"M<>lo miesta-pam<61>ti pre vl<76>kno",
|
||||||
"Nem<65><6D>em zisti<74> meno hostite<74>a pre va<76>u adresu",
|
"Nem<65><6D>em zisti<74> meno hostite<74>a pre va<76>u adresu",
|
||||||
"Chyba pri nadv<64>zovan<61> spojenia",
|
"Chyba pri nadv<64>zovan<61> spojenia",
|
||||||
"Zak<61>zan<61> pr<70>stup pre u<><75>vate<74>a: '%-.32s@%-.64s' k datab<61>zi '%-.64s'",
|
"Zak<61>zan<61> pr<70>stup pre u<><75>vate<74>a: '%-.32s'@'%-.64s' k datab<61>zi '%-.64s'",
|
||||||
"Zak<61>zan<61> pr<70>stup pre u<><75>vate<74>a: '%-.32s@%-.64s' (pou<6F>itie hesla: %s)",
|
"Zak<61>zan<61> pr<70>stup pre u<><75>vate<74>a: '%-.32s'@'%-.64s' (pou<6F>itie hesla: %s)",
|
||||||
"Nebola vybran<61> datab<61>za",
|
"Nebola vybran<61> datab<61>za",
|
||||||
"Nezn<7A>my pr<70>kaz",
|
"Nezn<7A>my pr<70>kaz",
|
||||||
"Pole '%-.64s' nem<65><6D>e by<62> null",
|
"Pole '%-.64s' nem<65><6D>e by<62> null",
|
||||||
@ -151,8 +151,8 @@
|
|||||||
"Got error '%-.64s' from regexp",
|
"Got error '%-.64s' from regexp",
|
||||||
"Mixing of GROUP columns (MIN(),MAX(),COUNT()...) with no GROUP columns is illegal if there is no GROUP BY clause",
|
"Mixing of GROUP columns (MIN(),MAX(),COUNT()...) with no GROUP columns is illegal if there is no GROUP BY clause",
|
||||||
"There is no such grant defined for user '%-.32s' on host '%-.64s'",
|
"There is no such grant defined for user '%-.32s' on host '%-.64s'",
|
||||||
"%-.16s command denied to user: '%-.32s@%-.64s' for table '%-.64s'",
|
"%-.16s command denied to user: '%-.32s'@'%-.64s' for table '%-.64s'",
|
||||||
"%-.16s command denied to user: '%-.32s@%-.64s' for column '%-.64s' in table '%-.64s'",
|
"%-.16s command denied to user: '%-.32s'@'%-.64s' for column '%-.64s' in table '%-.64s'",
|
||||||
"Illegal GRANT/REVOKE command. Please consult the manual which privleges can be used.",
|
"Illegal GRANT/REVOKE command. Please consult the manual which privleges can be used.",
|
||||||
"The host or user argument to GRANT is too long",
|
"The host or user argument to GRANT is too long",
|
||||||
"Table '%-.64s.%s' doesn't exist",
|
"Table '%-.64s.%s' doesn't exist",
|
||||||
@ -220,7 +220,7 @@
|
|||||||
"DROP DATABASE not allowed while thread is holding global read lock",
|
"DROP DATABASE not allowed while thread is holding global read lock",
|
||||||
"CREATE DATABASE not allowed while thread is holding global read lock",
|
"CREATE DATABASE not allowed while thread is holding global read lock",
|
||||||
"Wrong arguments to %s",
|
"Wrong arguments to %s",
|
||||||
"%-.32s@%-.64s is not allowed to create new users",
|
"'%-.32s'@'%-.64s' is not allowed to create new users",
|
||||||
"Incorrect table definition; all MERGE tables must be in the same database",
|
"Incorrect table definition; all MERGE tables must be in the same database",
|
||||||
"Deadlock found when trying to get lock; Try restarting transaction",
|
"Deadlock found when trying to get lock; Try restarting transaction",
|
||||||
"The used table type doesn't support FULLTEXT indexes",
|
"The used table type doesn't support FULLTEXT indexes",
|
||||||
@ -275,3 +275,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
"Memoria/espacio de tranpaso insuficiente",
|
"Memoria/espacio de tranpaso insuficiente",
|
||||||
"No puedo obtener el nombre de maquina de tu direccion",
|
"No puedo obtener el nombre de maquina de tu direccion",
|
||||||
"Protocolo erroneo",
|
"Protocolo erroneo",
|
||||||
"Acceso negado para usuario: '%-.32s@%-.64s' para la base de datos '%-.64s'",
|
"Acceso negado para usuario: '%-.32s'@'%-.64s' para la base de datos '%-.64s'",
|
||||||
"Acceso negado para usuario: '%-.32s@%-.64s' (Usando clave: %s)",
|
"Acceso negado para usuario: '%-.32s'@'%-.64s' (Usando clave: %s)",
|
||||||
"Base de datos no seleccionada",
|
"Base de datos no seleccionada",
|
||||||
"Comando desconocido",
|
"Comando desconocido",
|
||||||
"La columna '%-.64s' no puede ser nula",
|
"La columna '%-.64s' no puede ser nula",
|
||||||
@ -144,8 +144,8 @@
|
|||||||
"Obtenido error '%-.64s' de regexp",
|
"Obtenido error '%-.64s' de regexp",
|
||||||
"Mezcla de columnas GROUP (MIN(),MAX(),COUNT()...) con no GROUP columnas es ilegal si no hat la clausula GROUP BY",
|
"Mezcla de columnas GROUP (MIN(),MAX(),COUNT()...) con no GROUP columnas es ilegal si no hat la clausula GROUP BY",
|
||||||
"No existe permiso definido para usuario '%-.32s' en el servidor '%-.64s'",
|
"No existe permiso definido para usuario '%-.32s' en el servidor '%-.64s'",
|
||||||
"%-.16s comando negado para usuario: '%-.32s@%-.64s' para tabla '%-.64s'",
|
"%-.16s comando negado para usuario: '%-.32s'@'%-.64s' para tabla '%-.64s'",
|
||||||
"%-.16s comando negado para usuario: '%-.32s@%-.64s' para columna '%-.64s' en la tabla '%-.64s'",
|
"%-.16s comando negado para usuario: '%-.32s'@'%-.64s' para columna '%-.64s' en la tabla '%-.64s'",
|
||||||
"Ilegal comando GRANT/REVOKE. Por favor consulte el manual para cuales permisos pueden ser usados.",
|
"Ilegal comando GRANT/REVOKE. Por favor consulte el manual para cuales permisos pueden ser usados.",
|
||||||
"El argumento para servidor o usuario para GRANT es demasiado grande",
|
"El argumento para servidor o usuario para GRANT es demasiado grande",
|
||||||
"Tabla '%-.64s.%s' no existe",
|
"Tabla '%-.64s.%s' no existe",
|
||||||
@ -213,7 +213,7 @@
|
|||||||
"DROP DATABASE no permitido mientras un thread est<73> ejerciendo un bloqueo de lectura global",
|
"DROP DATABASE no permitido mientras un thread est<73> ejerciendo un bloqueo de lectura global",
|
||||||
"CREATE DATABASE no permitido mientras un thread est<73> ejerciendo un bloqueo de lectura global",
|
"CREATE DATABASE no permitido mientras un thread est<73> ejerciendo un bloqueo de lectura global",
|
||||||
"Wrong arguments to %s",
|
"Wrong arguments to %s",
|
||||||
"%-.32s@%-.64s is not allowed to create new users",
|
"'%-.32s'@'%-.64s' is not allowed to create new users",
|
||||||
"Incorrect table definition; all MERGE tables must be in the same database",
|
"Incorrect table definition; all MERGE tables must be in the same database",
|
||||||
"Deadlock found when trying to get lock; Try restarting transaction",
|
"Deadlock found when trying to get lock; Try restarting transaction",
|
||||||
"The used table type doesn't support FULLTEXT indexes",
|
"The used table type doesn't support FULLTEXT indexes",
|
||||||
@ -268,3 +268,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -45,8 +45,8 @@
|
|||||||
"Fick slut p<> minnet. Kontrollera om mysqld eller n<>gon annan process anv<6E>nder allt tillg<6C>ngligt minne. Om inte, f<>rs<72>k anv<6E>nda 'ulimit' eller allokera mera swap",
|
"Fick slut p<> minnet. Kontrollera om mysqld eller n<>gon annan process anv<6E>nder allt tillg<6C>ngligt minne. Om inte, f<>rs<72>k anv<6E>nda 'ulimit' eller allokera mera swap",
|
||||||
"Kan inte hitta 'hostname' f<>r din adress",
|
"Kan inte hitta 'hostname' f<>r din adress",
|
||||||
"Fel vid initiering av kommunikationen med klienten",
|
"Fel vid initiering av kommunikationen med klienten",
|
||||||
"Anv<6E>ndare '%-.32s@%-.64s' <20>r ej ber<65>ttigad att anv<6E>nda databasen %-.64s",
|
"Anv<6E>ndare '%-.32s'@'%-.64s' <20>r ej ber<65>ttigad att anv<6E>nda databasen %-.64s",
|
||||||
"Anv<6E>ndare '%-.32s@%-.64s' <20>r ej ber<65>ttigad att logga in (Anv<6E>nder l<>sen: %s)",
|
"Anv<6E>ndare '%-.32s'@'%-.64s' <20>r ej ber<65>ttigad att logga in (Anv<6E>nder l<>sen: %s)",
|
||||||
"Ingen databas i anv<6E>ndning",
|
"Ingen databas i anv<6E>ndning",
|
||||||
"Ok<4F>nt commando",
|
"Ok<4F>nt commando",
|
||||||
"Kolumn '%-.64s' f<>r inte vara NULL",
|
"Kolumn '%-.64s' f<>r inte vara NULL",
|
||||||
@ -143,8 +143,8 @@
|
|||||||
"Fick fel '%-.64s' fr<66>n REGEXP",
|
"Fick fel '%-.64s' fr<66>n REGEXP",
|
||||||
"Man f<>r ha b<>de GROUP-kolumner (MIN(),MAX(),COUNT()...) och f<>lt i en fr<66>ga om man inte har en GROUP BY-del",
|
"Man f<>r ha b<>de GROUP-kolumner (MIN(),MAX(),COUNT()...) och f<>lt i en fr<66>ga om man inte har en GROUP BY-del",
|
||||||
"Det finns inget privilegium definierat f<>r anv<6E>ndare '%-.32s' p<> '%-.64s'",
|
"Det finns inget privilegium definierat f<>r anv<6E>ndare '%-.32s' p<> '%-.64s'",
|
||||||
"%-.16s ej till<6C>tet f<>r '%-.32s@%-.64s' f<>r tabell '%-.64s'",
|
"%-.16s ej till<6C>tet f<>r '%-.32s'@'%-.64s' f<>r tabell '%-.64s'",
|
||||||
"%-.16s ej till<6C>tet f<>r '%-.32s@%-.64s' f<>r kolumn '%-.64s' i tabell '%-.64s'",
|
"%-.16s ej till<6C>tet f<>r '%-.32s'@'%-.64s' f<>r kolumn '%-.64s' i tabell '%-.64s'",
|
||||||
"Felaktigt GRANT-privilegium anv<6E>nt",
|
"Felaktigt GRANT-privilegium anv<6E>nt",
|
||||||
"Felaktigt maskinnamn eller anv<6E>ndarnamn anv<6E>nt med GRANT",
|
"Felaktigt maskinnamn eller anv<6E>ndarnamn anv<6E>nt med GRANT",
|
||||||
"Det finns ingen tabell som heter '%-.64s.%s'",
|
"Det finns ingen tabell som heter '%-.64s.%s'",
|
||||||
@ -212,7 +212,7 @@
|
|||||||
"DROP DATABASE <20>r inte till<6C>tet n<>r man har ett globalt l<>sl<73>s",
|
"DROP DATABASE <20>r inte till<6C>tet n<>r man har ett globalt l<>sl<73>s",
|
||||||
"CREATE DATABASE <20>r inte till<6C>tet n<>r man har ett globalt l<>sl<73>s",
|
"CREATE DATABASE <20>r inte till<6C>tet n<>r man har ett globalt l<>sl<73>s",
|
||||||
"Felaktiga argument till %s",
|
"Felaktiga argument till %s",
|
||||||
"%-.32s@%-.64s har inte r<>ttighet att skapa nya anv<6E>ndare",
|
"'%-.32s'@'%-.64s' har inte r<>ttighet att skapa nya anv<6E>ndare",
|
||||||
"Felaktig tabelldefinition; alla tabeller i en MERGE-tabell m<>ste vara i samma databas",
|
"Felaktig tabelldefinition; alla tabeller i en MERGE-tabell m<>ste vara i samma databas",
|
||||||
"Fick 'DEADLOCK' vid l<>sf<73>rs<72>k av block/rad. F<>rs<72>k att starta om transaktionen",
|
"Fick 'DEADLOCK' vid l<>sf<73>rs<72>k av block/rad. F<>rs<72>k att starta om transaktionen",
|
||||||
"Tabelltypen har inte hantering av FULLTEXT-index",
|
"Tabelltypen har inte hantering av FULLTEXT-index",
|
||||||
@ -267,3 +267,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
@ -50,8 +50,8 @@
|
|||||||
"<22><><EFBFBD><EFBFBD> <20><><EFBFBD>'<27>Ԧ; <20><><EFBFBD><EFBFBD>צ<EFBFBD><D7A6><EFBFBD> <20><> mysqld <20><><EFBFBD> <20>˦<EFBFBD><CBA6> <20><>ۦ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>'<27><><EFBFBD>. <20><> Φ, <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 'ulimit', <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> mysqld <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ¦<><C2A6><EFBFBD><EFBFBD> <20><><EFBFBD>'<27>Ԧ <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ¦<><C2A6><EFBFBD><EFBFBD> ͦ<><CDA6><EFBFBD> Ц<> <20><><EFBFBD><EFBFBD>",
|
"<22><><EFBFBD><EFBFBD> <20><><EFBFBD>'<27>Ԧ; <20><><EFBFBD><EFBFBD>צ<EFBFBD><D7A6><EFBFBD> <20><> mysqld <20><><EFBFBD> <20>˦<EFBFBD><CBA6> <20><>ۦ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>'<27><><EFBFBD>. <20><> Φ, <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 'ulimit', <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> mysqld <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ¦<><C2A6><EFBFBD><EFBFBD> <20><><EFBFBD>'<27>Ԧ <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ¦<><C2A6><EFBFBD><EFBFBD> ͦ<><CDA6><EFBFBD> Ц<> <20><><EFBFBD><EFBFBD>",
|
||||||
"<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>'<27> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD>ϧ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>'<27> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD>ϧ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><>צ<EFBFBD><D7A6><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>'<27><><EFBFBD><EFBFBD>",
|
"<22><>צ<EFBFBD><D7A6><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>'<27><><EFBFBD><EFBFBD>",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: '%-.32s@%-.64s' <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s'",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: '%-.32s'@'%-.64s' <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s'",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: '%-.32s@%-.64s' (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: %s)",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: '%-.32s'@'%-.64s' (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: %s)",
|
||||||
"<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><>צ<EFBFBD><D7A6><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><>צ<EFBFBD><D7A6><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s' <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s' <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
@ -148,8 +148,8 @@
|
|||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s' צ<> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s' צ<> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22>ͦ<EFBFBD><CDA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GROUP <20><><EFBFBD><EFBFBD><EFBFBD>æ<EFBFBD> (MIN(),MAX(),COUNT()...) <20> <20><> GROUP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD> GROUP BY",
|
"<22>ͦ<EFBFBD><CDA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GROUP <20><><EFBFBD><EFBFBD><EFBFBD>æ<EFBFBD> (MIN(),MAX(),COUNT()...) <20> <20><> GROUP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD> GROUP BY",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.32s' <20> <20><><EFBFBD><EFBFBD><EFBFBD> '%-.64s'",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.32s' <20> <20><><EFBFBD><EFBFBD><EFBFBD> '%-.64s'",
|
||||||
"%-.16s <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: '%-.32s@%-.64s' <20> <20><><EFBFBD><EFBFBD><EFBFBD>æ '%-.64s'",
|
"%-.16s <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: '%-.32s'@'%-.64s' <20> <20><><EFBFBD><EFBFBD><EFBFBD>æ '%-.64s'",
|
||||||
"%-.16s <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: '%-.32s@%-.64s' <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s' <20> <20><><EFBFBD><EFBFBD><EFBFBD>æ '%-.64s'",
|
"%-.16s <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: '%-.32s'@'%-.64s' <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s' <20> <20><><EFBFBD><EFBFBD><EFBFBD>æ '%-.64s'",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD> GRANT/REVOKE <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>æ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20>˦ <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.",
|
"<22><><EFBFBD><EFBFBD><EFBFBD> GRANT/REVOKE <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>æ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20>˦ <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> host <20><><EFBFBD> user <20><><EFBFBD> GRANT <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> host <20><><EFBFBD> user <20><><EFBFBD> GRANT <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s.%-.64s' <20><> <20><><EFBFBD>դ",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s.%-.64s' <20><> <20><><EFBFBD>դ",
|
||||||
@ -217,7 +217,7 @@
|
|||||||
"DROP DATABASE <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> Ǧ<><C7A6><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ц<> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"DROP DATABASE <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> Ǧ<><C7A6><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ц<> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"CREATE DATABASE <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> Ǧ<><C7A6><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ц<> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"CREATE DATABASE <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> Ǧ<><C7A6><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ц<> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> %s",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> %s",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %-.32s@%-.64s <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ަ<EFBFBD>",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.32s'@'%-.64s' <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ަ<EFBFBD>",
|
||||||
"Incorrect table definition; all MERGE tables must be in the same database",
|
"Incorrect table definition; all MERGE tables must be in the same database",
|
||||||
"Deadlock found when trying to get lock; Try restarting transaction",
|
"Deadlock found when trying to get lock; Try restarting transaction",
|
||||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>æ <20><> Ц<><D0A6><EFBFBD><EFBFBD><EFBFBD>դ FULLTEXT <20><><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>",
|
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>æ <20><> Ц<><D0A6><EFBFBD><EFBFBD><EFBFBD>դ FULLTEXT <20><><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>",
|
||||||
@ -272,3 +272,4 @@
|
|||||||
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
|
||||||
"Illegal mix of collations for operation '%s'",
|
"Illegal mix of collations for operation '%s'",
|
||||||
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
|
||||||
|
"Unknown collation: '%-.64s'",
|
||||||
|
63
sql/slave.cc
63
sql/slave.cc
@ -1565,6 +1565,48 @@ int register_slave_on_master(MYSQL* mysql)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
Builds a String from a HASH of TABLE_RULE_ENT. Cannot be used for any other
|
||||||
|
hash, as it assumes that the hash entries are TABLE_RULE_ENT.
|
||||||
|
|
||||||
|
SYNOPSIS
|
||||||
|
table_rule_ent_hash_to_str()
|
||||||
|
s pointer to the String to fill
|
||||||
|
h pointer to the HASH to read
|
||||||
|
|
||||||
|
RETURN VALUES
|
||||||
|
none
|
||||||
|
*/
|
||||||
|
|
||||||
|
void table_rule_ent_hash_to_str(String* s, HASH* h)
|
||||||
|
{
|
||||||
|
s->length(0);
|
||||||
|
for (uint i=0 ; i < h->records ; i++)
|
||||||
|
{
|
||||||
|
TABLE_RULE_ENT* e= (TABLE_RULE_ENT*) hash_element(h, i);
|
||||||
|
if (s->length())
|
||||||
|
s->append(',');
|
||||||
|
s->append(e->db,e->key_len);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Mostly the same thing as above
|
||||||
|
*/
|
||||||
|
|
||||||
|
void table_rule_ent_dynamic_array_to_str(String* s, DYNAMIC_ARRAY* a)
|
||||||
|
{
|
||||||
|
s->length(0);
|
||||||
|
for (uint i=0 ; i < a->elements ; i++)
|
||||||
|
{
|
||||||
|
TABLE_RULE_ENT* e;
|
||||||
|
get_dynamic(a, (gptr)&e, i);
|
||||||
|
if (s->length())
|
||||||
|
s->append(',');
|
||||||
|
s->append(e->db,e->key_len);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
int show_master_info(THD* thd, MASTER_INFO* mi)
|
int show_master_info(THD* thd, MASTER_INFO* mi)
|
||||||
{
|
{
|
||||||
// TODO: fix this for multi-master
|
// TODO: fix this for multi-master
|
||||||
@ -1594,6 +1636,10 @@ int show_master_info(THD* thd, MASTER_INFO* mi)
|
|||||||
field_list.push_back(new Item_empty_string("Slave_SQL_Running", 3));
|
field_list.push_back(new Item_empty_string("Slave_SQL_Running", 3));
|
||||||
field_list.push_back(new Item_empty_string("Replicate_do_db", 20));
|
field_list.push_back(new Item_empty_string("Replicate_do_db", 20));
|
||||||
field_list.push_back(new Item_empty_string("Replicate_ignore_db", 20));
|
field_list.push_back(new Item_empty_string("Replicate_ignore_db", 20));
|
||||||
|
field_list.push_back(new Item_empty_string("Replicate_do_table", 20));
|
||||||
|
field_list.push_back(new Item_empty_string("Replicate_ignore_table", 23));
|
||||||
|
field_list.push_back(new Item_empty_string("Replicate_wild_do_table", 24));
|
||||||
|
field_list.push_back(new Item_empty_string("Replicate_wild_ignore_table", 28));
|
||||||
field_list.push_back(new Item_return_int("Last_errno", 4, MYSQL_TYPE_LONG));
|
field_list.push_back(new Item_return_int("Last_errno", 4, MYSQL_TYPE_LONG));
|
||||||
field_list.push_back(new Item_empty_string("Last_error", 20));
|
field_list.push_back(new Item_empty_string("Last_error", 20));
|
||||||
field_list.push_back(new Item_return_int("Skip_counter", 10,
|
field_list.push_back(new Item_return_int("Skip_counter", 10,
|
||||||
@ -1626,6 +1672,23 @@ int show_master_info(THD* thd, MASTER_INFO* mi)
|
|||||||
protocol->store(mi->rli.slave_running ? "Yes":"No", &my_charset_bin);
|
protocol->store(mi->rli.slave_running ? "Yes":"No", &my_charset_bin);
|
||||||
protocol->store(&replicate_do_db);
|
protocol->store(&replicate_do_db);
|
||||||
protocol->store(&replicate_ignore_db);
|
protocol->store(&replicate_ignore_db);
|
||||||
|
/*
|
||||||
|
We can't directly use some protocol->store for
|
||||||
|
replicate_*_table,
|
||||||
|
as Protocol doesn't know the TABLE_RULE_ENT struct.
|
||||||
|
We first build Strings and then pass them to protocol->store.
|
||||||
|
*/
|
||||||
|
char buf[256];
|
||||||
|
String tmp(buf, sizeof(buf), &my_charset_bin);
|
||||||
|
table_rule_ent_hash_to_str(&tmp, &replicate_do_table);
|
||||||
|
protocol->store(&tmp);
|
||||||
|
table_rule_ent_hash_to_str(&tmp, &replicate_ignore_table);
|
||||||
|
protocol->store(&tmp);
|
||||||
|
table_rule_ent_dynamic_array_to_str(&tmp, &replicate_wild_do_table);
|
||||||
|
protocol->store(&tmp);
|
||||||
|
table_rule_ent_dynamic_array_to_str(&tmp, &replicate_wild_ignore_table);
|
||||||
|
protocol->store(&tmp);
|
||||||
|
|
||||||
protocol->store((uint32) mi->rli.last_slave_errno);
|
protocol->store((uint32) mi->rli.last_slave_errno);
|
||||||
protocol->store(mi->rli.last_slave_error, &my_charset_bin);
|
protocol->store(mi->rli.last_slave_error, &my_charset_bin);
|
||||||
protocol->store((uint32) mi->rli.slave_skip_counter);
|
protocol->store((uint32) mi->rli.slave_skip_counter);
|
||||||
|
@ -398,6 +398,8 @@ int mysql_table_dump(THD* thd, const char* db,
|
|||||||
int fetch_master_table(THD* thd, const char* db_name, const char* table_name,
|
int fetch_master_table(THD* thd, const char* db_name, const char* table_name,
|
||||||
MASTER_INFO* mi, MYSQL* mysql);
|
MASTER_INFO* mi, MYSQL* mysql);
|
||||||
|
|
||||||
|
void table_rule_ent_hash_to_str(String* s, HASH* h);
|
||||||
|
void table_rule_ent_dynamic_array_to_str(String* s, DYNAMIC_ARRAY* a);
|
||||||
int show_master_info(THD* thd, MASTER_INFO* mi);
|
int show_master_info(THD* thd, MASTER_INFO* mi);
|
||||||
int show_binlog_info(THD* thd);
|
int show_binlog_info(THD* thd);
|
||||||
|
|
||||||
|
@ -590,7 +590,6 @@ ulong acl_getroot(THD *thd, const char *host, const char *ip, const char *user,
|
|||||||
|
|
||||||
/* OK. User found and password checked continue validation */
|
/* OK. User found and password checked continue validation */
|
||||||
|
|
||||||
#ifdef HAVE_OPENSSL
|
|
||||||
{
|
{
|
||||||
Vio *vio=thd->net.vio;
|
Vio *vio=thd->net.vio;
|
||||||
/*
|
/*
|
||||||
@ -604,6 +603,7 @@ ulong acl_getroot(THD *thd, const char *host, const char *ip, const char *user,
|
|||||||
case SSL_TYPE_NONE: /* SSL is not required to connect */
|
case SSL_TYPE_NONE: /* SSL is not required to connect */
|
||||||
user_access=acl_user->access;
|
user_access=acl_user->access;
|
||||||
break;
|
break;
|
||||||
|
#ifdef HAVE_OPENSSL
|
||||||
case SSL_TYPE_ANY: /* Any kind of SSL is good enough */
|
case SSL_TYPE_ANY: /* Any kind of SSL is good enough */
|
||||||
if (vio_type(vio) == VIO_TYPE_SSL)
|
if (vio_type(vio) == VIO_TYPE_SSL)
|
||||||
user_access=acl_user->access;
|
user_access=acl_user->access;
|
||||||
@ -686,11 +686,17 @@ ulong acl_getroot(THD *thd, const char *host, const char *ip, const char *user,
|
|||||||
free(ptr);
|
free(ptr);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
#else /* HAVE_OPENSSL */
|
||||||
|
default:
|
||||||
|
/*
|
||||||
|
If we don't have SSL but SSL is required for this user the
|
||||||
|
authentication should fail.
|
||||||
|
*/
|
||||||
|
break;
|
||||||
|
#endif /* HAVE_OPENSSL */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else /* HAVE_OPENSSL */
|
|
||||||
user_access=acl_user->access;
|
|
||||||
#endif /* HAVE_OPENSSL */
|
|
||||||
*mqh=acl_user->user_resource;
|
*mqh=acl_user->user_resource;
|
||||||
if (!acl_user->user)
|
if (!acl_user->user)
|
||||||
*priv_user=(char*) ""; // Change to anonymous user /* purecov: inspected */
|
*priv_user=(char*) ""; // Change to anonymous user /* purecov: inspected */
|
||||||
@ -877,7 +883,7 @@ static void acl_insert_db(const char *user, const char *host, const char *db,
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
ulong acl_get(const char *host, const char *ip, const char *bin_ip,
|
ulong acl_get(const char *host, const char *ip, const char *bin_ip,
|
||||||
const char *user, const char *db)
|
const char *user, const char *db, my_bool db_is_pattern)
|
||||||
{
|
{
|
||||||
ulong host_access,db_access;
|
ulong host_access,db_access;
|
||||||
uint i,key_length;
|
uint i,key_length;
|
||||||
@ -911,7 +917,7 @@ ulong acl_get(const char *host, const char *ip, const char *bin_ip,
|
|||||||
{
|
{
|
||||||
if (compare_hostname(&acl_db->host,host,ip))
|
if (compare_hostname(&acl_db->host,host,ip))
|
||||||
{
|
{
|
||||||
if (!acl_db->db || !wild_compare(db,acl_db->db))
|
if (!acl_db->db || !wild_compare(db,acl_db->db,db_is_pattern))
|
||||||
{
|
{
|
||||||
db_access=acl_db->access;
|
db_access=acl_db->access;
|
||||||
if (acl_db->host.hostname)
|
if (acl_db->host.hostname)
|
||||||
@ -933,7 +939,7 @@ ulong acl_get(const char *host, const char *ip, const char *bin_ip,
|
|||||||
ACL_HOST *acl_host=dynamic_element(&acl_hosts,i,ACL_HOST*);
|
ACL_HOST *acl_host=dynamic_element(&acl_hosts,i,ACL_HOST*);
|
||||||
if (compare_hostname(&acl_host->host,host,ip))
|
if (compare_hostname(&acl_host->host,host,ip))
|
||||||
{
|
{
|
||||||
if (!acl_host->db || !wild_compare(db,acl_host->db))
|
if (!acl_host->db || !wild_compare(db,acl_host->db,db_is_pattern))
|
||||||
{
|
{
|
||||||
host_access=acl_host->access; // Fully specified. Take it
|
host_access=acl_host->access; // Fully specified. Take it
|
||||||
break;
|
break;
|
||||||
@ -1271,7 +1277,7 @@ static bool compare_hostname(const acl_host_and_ip *host, const char *hostname,
|
|||||||
return (!host->hostname ||
|
return (!host->hostname ||
|
||||||
(hostname && !wild_case_compare(&my_charset_latin1,
|
(hostname && !wild_case_compare(&my_charset_latin1,
|
||||||
hostname,host->hostname)) ||
|
hostname,host->hostname)) ||
|
||||||
(ip && !wild_compare(ip,host->hostname)));
|
(ip && !wild_compare(ip,host->hostname,0)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1331,7 +1337,7 @@ static bool test_if_create_new_users(THD *thd)
|
|||||||
tl.db= (char*) "mysql";
|
tl.db= (char*) "mysql";
|
||||||
tl.real_name= (char*) "user";
|
tl.real_name= (char*) "user";
|
||||||
db_access=acl_get(thd->host, thd->ip, (char*) &thd->remote.sin_addr,
|
db_access=acl_get(thd->host, thd->ip, (char*) &thd->remote.sin_addr,
|
||||||
thd->priv_user, tl.db);
|
thd->priv_user, tl.db, 0);
|
||||||
if (!(db_access & INSERT_ACL))
|
if (!(db_access & INSERT_ACL))
|
||||||
{
|
{
|
||||||
if (check_grant(thd,INSERT_ACL,&tl,0,1))
|
if (check_grant(thd,INSERT_ACL,&tl,0,1))
|
||||||
|
@ -134,7 +134,7 @@ my_bool acl_init(THD *thd, bool dont_read_acl_tables);
|
|||||||
void acl_reload(THD *thd);
|
void acl_reload(THD *thd);
|
||||||
void acl_free(bool end=0);
|
void acl_free(bool end=0);
|
||||||
ulong acl_get(const char *host, const char *ip, const char *bin_ip,
|
ulong acl_get(const char *host, const char *ip, const char *bin_ip,
|
||||||
const char *user, const char *db);
|
const char *user, const char *db, my_bool db_is_pattern);
|
||||||
ulong acl_getroot(THD *thd, const char *host, const char *ip, const char *user,
|
ulong acl_getroot(THD *thd, const char *host, const char *ip, const char *user,
|
||||||
const char *password,const char *scramble,
|
const char *password,const char *scramble,
|
||||||
char **priv_user, char *priv_host,
|
char **priv_user, char *priv_host,
|
||||||
|
@ -148,7 +148,7 @@ OPEN_TABLE_LIST *list_open_tables(THD *thd, const char *wild)
|
|||||||
if (wild)
|
if (wild)
|
||||||
{
|
{
|
||||||
strxmov(name,entry->table_cache_key,".",entry->real_name,NullS);
|
strxmov(name,entry->table_cache_key,".",entry->real_name,NullS);
|
||||||
if (wild_compare(name,wild))
|
if (wild_compare(name,wild,0))
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2236,7 +2236,11 @@ fill_record(List<Item> &fields,List<Item> &values, bool ignore_errors)
|
|||||||
while ((field=(Item_field*) f++))
|
while ((field=(Item_field*) f++))
|
||||||
{
|
{
|
||||||
value=v++;
|
value=v++;
|
||||||
if (value->save_in_field(field->field, 0) > 0 && !ignore_errors)
|
Field *rfield= field->field;
|
||||||
|
TABLE *table= rfield->table;
|
||||||
|
if (rfield == table->next_number_field)
|
||||||
|
table->auto_increment_field_not_null= true;
|
||||||
|
if (value->save_in_field(rfield, 0) > 0 && !ignore_errors)
|
||||||
DBUG_RETURN(1);
|
DBUG_RETURN(1);
|
||||||
}
|
}
|
||||||
DBUG_RETURN(0);
|
DBUG_RETURN(0);
|
||||||
@ -2254,6 +2258,9 @@ fill_record(Field **ptr,List<Item> &values, bool ignore_errors)
|
|||||||
while ((field = *ptr++))
|
while ((field = *ptr++))
|
||||||
{
|
{
|
||||||
value=v++;
|
value=v++;
|
||||||
|
TABLE *table= field->table;
|
||||||
|
if (field == table->next_number_field)
|
||||||
|
table->auto_increment_field_not_null= true;
|
||||||
if (value->save_in_field(field, 0) == 1 && !ignore_errors)
|
if (value->save_in_field(field, 0) == 1 && !ignore_errors)
|
||||||
DBUG_RETURN(1);
|
DBUG_RETURN(1);
|
||||||
}
|
}
|
||||||
|
@ -127,7 +127,7 @@ static bool load_db_opt(THD *thd, const char *path, HA_CREATE_INFO *create)
|
|||||||
{
|
{
|
||||||
if (!(create->table_charset=get_charset_by_name(pos+1, MYF(0))))
|
if (!(create->table_charset=get_charset_by_name(pos+1, MYF(0))))
|
||||||
{
|
{
|
||||||
sql_print_error(ER(ER_UNKNOWN_CHARACTER_SET),pos+1);
|
sql_print_error(ER(ER_UNKNOWN_COLLATION),pos+1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -591,7 +591,7 @@ bool mysql_change_db(THD *thd, const char *name)
|
|||||||
db_access=DB_ACLS;
|
db_access=DB_ACLS;
|
||||||
else
|
else
|
||||||
db_access= (acl_get(thd->host,thd->ip,(char*) &thd->remote.sin_addr,
|
db_access= (acl_get(thd->host,thd->ip,(char*) &thd->remote.sin_addr,
|
||||||
thd->priv_user,dbname) |
|
thd->priv_user,dbname,0) |
|
||||||
thd->master_access);
|
thd->master_access);
|
||||||
if (!(db_access & DB_ACLS) && (!grant_option || check_grant_db(thd,dbname)))
|
if (!(db_access & DB_ACLS) && (!grant_option || check_grant_db(thd,dbname)))
|
||||||
{
|
{
|
||||||
@ -625,8 +625,8 @@ bool mysql_change_db(THD *thd, const char *name)
|
|||||||
|
|
||||||
strmov(path+unpack_dirname(path,path), MY_DB_OPT_FILE);
|
strmov(path+unpack_dirname(path,path), MY_DB_OPT_FILE);
|
||||||
load_db_opt(thd, path, &create);
|
load_db_opt(thd, path, &create);
|
||||||
thd->db_charset= create.table_charset ?
|
thd->db_charset= create.table_charset ?
|
||||||
create.table_charset :
|
create.table_charset :
|
||||||
global_system_variables.character_set_database;
|
global_system_variables.character_set_database;
|
||||||
thd->variables.character_set_database= thd->db_charset;
|
thd->variables.character_set_database= thd->db_charset;
|
||||||
DBUG_RETURN(0);
|
DBUG_RETURN(0);
|
||||||
@ -644,18 +644,18 @@ int mysqld_show_create_db(THD *thd, char *dbname,
|
|||||||
uint create_options = create_info ? create_info->options : 0;
|
uint create_options = create_info ? create_info->options : 0;
|
||||||
Protocol *protocol=thd->protocol;
|
Protocol *protocol=thd->protocol;
|
||||||
DBUG_ENTER("mysql_show_create_db");
|
DBUG_ENTER("mysql_show_create_db");
|
||||||
|
|
||||||
if (check_db_name(dbname))
|
if (check_db_name(dbname))
|
||||||
{
|
{
|
||||||
net_printf(thd,ER_WRONG_DB_NAME, dbname);
|
net_printf(thd,ER_WRONG_DB_NAME, dbname);
|
||||||
DBUG_RETURN(1);
|
DBUG_RETURN(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (test_all_bits(thd->master_access,DB_ACLS))
|
if (test_all_bits(thd->master_access,DB_ACLS))
|
||||||
db_access=DB_ACLS;
|
db_access=DB_ACLS;
|
||||||
else
|
else
|
||||||
db_access= (acl_get(thd->host,thd->ip,(char*) &thd->remote.sin_addr,
|
db_access= (acl_get(thd->host,thd->ip,(char*) &thd->remote.sin_addr,
|
||||||
thd->priv_user,dbname) |
|
thd->priv_user,dbname,0) |
|
||||||
thd->master_access);
|
thd->master_access);
|
||||||
if (!(db_access & DB_ACLS) && (!grant_option || check_grant_db(thd,dbname)))
|
if (!(db_access & DB_ACLS) && (!grant_option || check_grant_db(thd,dbname)))
|
||||||
{
|
{
|
||||||
@ -669,7 +669,7 @@ int mysqld_show_create_db(THD *thd, char *dbname,
|
|||||||
dbname);
|
dbname);
|
||||||
DBUG_RETURN(1);
|
DBUG_RETURN(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
(void) sprintf(path,"%s/%s",mysql_data_home, dbname);
|
(void) sprintf(path,"%s/%s",mysql_data_home, dbname);
|
||||||
length=unpack_dirname(path,path); // Convert if not unix
|
length=unpack_dirname(path,path); // Convert if not unix
|
||||||
found_libchar= 0;
|
found_libchar= 0;
|
||||||
|
@ -552,7 +552,7 @@ int yylex(void *arg, void *yythd)
|
|||||||
/*
|
/*
|
||||||
Note: "SELECT _bla AS 'alias'"
|
Note: "SELECT _bla AS 'alias'"
|
||||||
_bla should be considered as a IDENT if charset haven't been found.
|
_bla should be considered as a IDENT if charset haven't been found.
|
||||||
So we don't use MYF(MY_WME) with get_charset_by_name to avoid
|
So we don't use MYF(MY_WME) with get_charset_by_csname to avoid
|
||||||
producing an error.
|
producing an error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -3254,7 +3254,7 @@ check_access(THD *thd, ulong want_access, const char *db, ulong *save_priv,
|
|||||||
if (!(thd->master_access & SELECT_ACL) &&
|
if (!(thd->master_access & SELECT_ACL) &&
|
||||||
(db && (!thd->db || strcmp(db,thd->db))))
|
(db && (!thd->db || strcmp(db,thd->db))))
|
||||||
db_access=acl_get(thd->host, thd->ip, (char*) &thd->remote.sin_addr,
|
db_access=acl_get(thd->host, thd->ip, (char*) &thd->remote.sin_addr,
|
||||||
thd->priv_user, db); /* purecov: inspected */
|
thd->priv_user, db, test(want_access & GRANT_ACL));
|
||||||
*save_priv=thd->master_access | db_access;
|
*save_priv=thd->master_access | db_access;
|
||||||
DBUG_RETURN(FALSE);
|
DBUG_RETURN(FALSE);
|
||||||
}
|
}
|
||||||
@ -3274,7 +3274,7 @@ check_access(THD *thd, ulong want_access, const char *db, ulong *save_priv,
|
|||||||
|
|
||||||
if (db && (!thd->db || strcmp(db,thd->db)))
|
if (db && (!thd->db || strcmp(db,thd->db)))
|
||||||
db_access=acl_get(thd->host, thd->ip, (char*) &thd->remote.sin_addr,
|
db_access=acl_get(thd->host, thd->ip, (char*) &thd->remote.sin_addr,
|
||||||
thd->priv_user, db); /* purecov: inspected */
|
thd->priv_user, db, test(want_access & GRANT_ACL));
|
||||||
else
|
else
|
||||||
db_access=thd->db_access;
|
db_access=thd->db_access;
|
||||||
// Remove SHOW attribute and access rights we already have
|
// Remove SHOW attribute and access rights we already have
|
||||||
|
@ -75,7 +75,7 @@ mysqld_show_dbs(THD *thd,const char *wild)
|
|||||||
{
|
{
|
||||||
if (thd->master_access & (DB_ACLS | SHOW_DB_ACL) ||
|
if (thd->master_access & (DB_ACLS | SHOW_DB_ACL) ||
|
||||||
acl_get(thd->host, thd->ip, (char*) &thd->remote.sin_addr,
|
acl_get(thd->host, thd->ip, (char*) &thd->remote.sin_addr,
|
||||||
thd->priv_user, file_name) ||
|
thd->priv_user, file_name,0) ||
|
||||||
(grant_option && !check_grant_db(thd, file_name)))
|
(grant_option && !check_grant_db(thd, file_name)))
|
||||||
{
|
{
|
||||||
protocol->prepare_for_resend();
|
protocol->prepare_for_resend();
|
||||||
@ -415,7 +415,7 @@ mysql_find_files(THD *thd,List<char> *files, const char *db,const char *path,
|
|||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
if (file->name[0] == '.' || !MY_S_ISDIR(file->mystat.st_mode) ||
|
if (file->name[0] == '.' || !MY_S_ISDIR(file->mystat.st_mode) ||
|
||||||
(wild && wild_compare(file->name,wild)))
|
(wild && wild_compare(file->name,wild,0)))
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -433,7 +433,7 @@ mysql_find_files(THD *thd,List<char> *files, const char *db,const char *path,
|
|||||||
if (wild_case_compare(system_charset_info,file->name,wild))
|
if (wild_case_compare(system_charset_info,file->name,wild))
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if (wild_compare(file->name,wild))
|
else if (wild_compare(file->name,wild,0))
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1031,7 +1031,7 @@ store_create_info(THD *thd, TABLE *table, String *packet)
|
|||||||
my_bool limited_mysql_mode= (thd->variables.sql_mode &
|
my_bool limited_mysql_mode= (thd->variables.sql_mode &
|
||||||
(MODE_NO_FIELD_OPTIONS | MODE_MYSQL323 |
|
(MODE_NO_FIELD_OPTIONS | MODE_MYSQL323 |
|
||||||
MODE_MYSQL40)) != 0;
|
MODE_MYSQL40)) != 0;
|
||||||
|
|
||||||
DBUG_ENTER("store_create_info");
|
DBUG_ENTER("store_create_info");
|
||||||
DBUG_PRINT("enter",("table: %s",table->real_name));
|
DBUG_PRINT("enter",("table: %s",table->real_name));
|
||||||
|
|
||||||
|
@ -547,7 +547,6 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
|
|||||||
%token SUBJECT_SYM
|
%token SUBJECT_SYM
|
||||||
%token CIPHER_SYM
|
%token CIPHER_SYM
|
||||||
|
|
||||||
%token HELP
|
|
||||||
%token BEFORE_SYM
|
%token BEFORE_SYM
|
||||||
%left SET_VAR
|
%left SET_VAR
|
||||||
%left OR_OR_CONCAT OR
|
%left OR_OR_CONCAT OR
|
||||||
@ -1411,7 +1410,7 @@ collation_name:
|
|||||||
{
|
{
|
||||||
if (!($$=get_charset_by_name($1.str,MYF(0))))
|
if (!($$=get_charset_by_name($1.str,MYF(0))))
|
||||||
{
|
{
|
||||||
net_printf(YYTHD,ER_UNKNOWN_CHARACTER_SET,$1.str);
|
net_printf(YYTHD,ER_UNKNOWN_COLLATION,$1.str);
|
||||||
YYABORT;
|
YYABORT;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
10
sql/table.cc
10
sql/table.cc
@ -138,7 +138,7 @@ int openfrm(const char *name, const char *alias, uint db_stat, uint prgflag,
|
|||||||
outparam->raid_chunks= head[42];
|
outparam->raid_chunks= head[42];
|
||||||
outparam->raid_chunksize= uint4korr(head+43);
|
outparam->raid_chunksize= uint4korr(head+43);
|
||||||
if (!(outparam->table_charset=get_charset((uint) head[38],MYF(0))))
|
if (!(outparam->table_charset=get_charset((uint) head[38],MYF(0))))
|
||||||
outparam->table_charset=NULL; // QQ display error message?
|
outparam->table_charset=default_charset_info; // QQ display error message?
|
||||||
null_field_first=1;
|
null_field_first=1;
|
||||||
}
|
}
|
||||||
outparam->db_record_offset=1;
|
outparam->db_record_offset=1;
|
||||||
@ -398,8 +398,7 @@ int openfrm(const char *name, const char *alias, uint db_stat, uint prgflag,
|
|||||||
if (!strpos[14])
|
if (!strpos[14])
|
||||||
charset= &my_charset_bin;
|
charset= &my_charset_bin;
|
||||||
else if (!(charset=get_charset((uint) strpos[14], MYF(0))))
|
else if (!(charset=get_charset((uint) strpos[14], MYF(0))))
|
||||||
charset= (outparam->table_charset ? outparam->table_charset:
|
charset= outparam->table_charset;
|
||||||
default_charset_info);
|
|
||||||
}
|
}
|
||||||
if (!comment_length)
|
if (!comment_length)
|
||||||
{
|
{
|
||||||
@ -423,8 +422,7 @@ int openfrm(const char *name, const char *alias, uint db_stat, uint prgflag,
|
|||||||
|
|
||||||
/* old frm file */
|
/* old frm file */
|
||||||
field_type= (enum_field_types) f_packtype(pack_flag);
|
field_type= (enum_field_types) f_packtype(pack_flag);
|
||||||
charset=(outparam->table_charset ? outparam->table_charset :
|
charset=f_is_binary(pack_flag) ? &my_charset_bin : outparam->table_charset;
|
||||||
default_charset_info);
|
|
||||||
bzero((char*) &comment, sizeof(comment));
|
bzero((char*) &comment, sizeof(comment));
|
||||||
}
|
}
|
||||||
*field_ptr=reg_field=
|
*field_ptr=reg_field=
|
||||||
@ -599,7 +597,7 @@ int openfrm(const char *name, const char *alias, uint db_stat, uint prgflag,
|
|||||||
}
|
}
|
||||||
keyinfo->usable_key_parts=usable_parts; // Filesort
|
keyinfo->usable_key_parts=usable_parts; // Filesort
|
||||||
}
|
}
|
||||||
if (primary_key < MAX_KEY &&
|
if (primary_key < MAX_KEY &&
|
||||||
(outparam->keys_in_use & ((key_map) 1 << primary_key)))
|
(outparam->keys_in_use & ((key_map) 1 << primary_key)))
|
||||||
{
|
{
|
||||||
outparam->primary_key=primary_key;
|
outparam->primary_key=primary_key;
|
||||||
|
@ -116,6 +116,7 @@ struct st_table {
|
|||||||
my_bool crashed;
|
my_bool crashed;
|
||||||
my_bool is_view;
|
my_bool is_view;
|
||||||
my_bool no_keyread;
|
my_bool no_keyread;
|
||||||
|
my_bool auto_increment_field_not_null;
|
||||||
Field *next_number_field, /* Set if next_number is activated */
|
Field *next_number_field, /* Set if next_number is activated */
|
||||||
*found_next_number_field, /* Set on open */
|
*found_next_number_field, /* Set on open */
|
||||||
*rowid_field;
|
*rowid_field;
|
||||||
|
Reference in New Issue
Block a user