mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
SCRUM:
splittiln common client's parts
This commit is contained in:
@ -99,7 +99,6 @@ TYPELIB sql_protocol_typelib = {array_elements(sql_protocol_names_lib)-1,"",
|
||||
be changed
|
||||
*/
|
||||
#define MAX_LONG_DATA_LENGTH 8192
|
||||
/*#define protocol_41(A) ((A)->server_capabilities & CLIENT_PROTOCOL_41)*/
|
||||
#define unsigned_field(A) ((A)->flags & UNSIGNED_FLAG)
|
||||
|
||||
static void append_wild(char *to,char *end,const char *wild);
|
||||
@ -157,10 +156,6 @@ void STDCALL mysql_thread_end()
|
||||
#define reset_sigpipe(mysql)
|
||||
#endif
|
||||
|
||||
/* TO DELETE
|
||||
#define _libmysql_c
|
||||
#include "../sql-common/client.c"
|
||||
*/
|
||||
static MYSQL* spawn_init(MYSQL* parent, const char* host,
|
||||
unsigned int port,
|
||||
const char* user,
|
||||
@ -987,6 +982,7 @@ mysql_query(MYSQL *mysql, const char *query)
|
||||
return mysql_real_query(mysql,query, (uint) strlen(query));
|
||||
}
|
||||
|
||||
|
||||
static MYSQL* spawn_init(MYSQL* parent, const char* host,
|
||||
unsigned int port, const char* user,
|
||||
const char* passwd)
|
||||
|
Reference in New Issue
Block a user