diff options
author | unknown <holyfoot/hf@mysql.com/deer.(none)> | 2006-07-18 16:43:39 +0500 |
---|---|---|
committer | unknown <holyfoot/hf@mysql.com/deer.(none)> | 2006-07-18 16:43:39 +0500 |
commit | b33085b49a2af96618769f1268dbd19574a4043e (patch) | |
tree | ce08bf51020b326c89464a97bbda2af70a64ecc3 /libmysqld/libmysqld.c | |
parent | 2dfdcae3989a12e513aee2ba2df86edfb27b0e7e (diff) | |
download | mariadb-git-b33085b49a2af96618769f1268dbd19574a4043e.tar.gz |
merging
Diffstat (limited to 'libmysqld/libmysqld.c')
-rw-r--r-- | libmysqld/libmysqld.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libmysqld/libmysqld.c b/libmysqld/libmysqld.c index 1cb37e8252a..cb4fa104b4c 100644 --- a/libmysqld/libmysqld.c +++ b/libmysqld/libmysqld.c @@ -164,7 +164,6 @@ mysql_real_connect(MYSQL *mysql,const char *host, const char *user, port=0; unix_socket=0; - db_name = db ? my_strdup(db,MYF(MY_WME)) : NULL; /* Send client information for access check */ client_flag|=CLIENT_CAPABILITIES; @@ -175,7 +174,7 @@ mysql_real_connect(MYSQL *mysql,const char *host, const char *user, client_flag|=CLIENT_CONNECT_WITH_DB; mysql->info_buffer= my_malloc(MYSQL_ERRMSG_SIZE, MYF(0)); - mysql->thd= create_embedded_thd(client_flag, db_name); + mysql->thd= create_embedded_thd(client_flag); init_embedded_mysql(mysql, client_flag); |