summaryrefslogtreecommitdiff
path: root/libmysqld/libmysqld.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmysqld/libmysqld.c')
-rw-r--r--libmysqld/libmysqld.c25
1 files changed, 1 insertions, 24 deletions
diff --git a/libmysqld/libmysqld.c b/libmysqld/libmysqld.c
index 36401138b24..47d38d153d0 100644
--- a/libmysqld/libmysqld.c
+++ b/libmysqld/libmysqld.c
@@ -723,6 +723,7 @@ static void mysql_once_init()
if (!mysql_client_init)
{
mysql_client_init=1;
+
my_init(); /* Will init threads */
init_client_errs();
mysql_port = MYSQL_PORT;
@@ -1131,24 +1132,6 @@ my_bool my_connect(my_socket s, const struct sockaddr *name, uint namelen,
#endif
}
-/*
-int STDCALL
-mysql_send_query(MYSQL* mysql, const char* query, ulong length)
-{
- if (mysql->options.separate_thread)
- {
- return -1;
- }
-
- mysql->result= NULL;
-
- free_old_query(mysql);
-
- return simple_command(mysql, COM_QUERY, query, length, 1);
-}
-*/
-
-
int STDCALL
mysql_real_query(MYSQL *mysql, const char *query, ulong length)
{
@@ -1250,12 +1233,6 @@ mysql_store_result(MYSQL *mysql)
return result;
}
-void _0dummy()
-{
- send_file_to_server(NULL, NULL);
- net_field_length_ll(NULL);
-}
-
/**************************************************************************
** Alloc struct for use with unbuffered reads. Data is fetched by domand
** when calling to mysql_fetch_row.