diff options
author | unknown <hf@deer.(none)> | 2003-12-24 16:04:24 +0400 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2003-12-24 16:04:24 +0400 |
commit | 20a1da7864056c9bfcd5c18891c8598c74ab700a (patch) | |
tree | 961ad5e569e9254170a9f46976fab22743c0130e /libmysqld/libmysqld.c | |
parent | 2b1aa3fc2a8af2f10b6767039b265d1a4f9cc929 (diff) | |
parent | fd28d1be71d3b1fc76f09e9bcc942061cb0c52a4 (diff) | |
download | mariadb-git-20a1da7864056c9bfcd5c18891c8598c74ab700a.tar.gz |
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1
into deer.(none):/home/hf/work/mysql-4.1.2046
libmysqld/libmysqld.c:
Auto merged
Diffstat (limited to 'libmysqld/libmysqld.c')
-rw-r--r-- | libmysqld/libmysqld.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/libmysqld/libmysqld.c b/libmysqld/libmysqld.c index f96c06ff0f6..69fdf14eca4 100644 --- a/libmysqld/libmysqld.c +++ b/libmysqld/libmysqld.c @@ -81,28 +81,6 @@ static void end_server(MYSQL *mysql) DBUG_VOID_RETURN; } -/************************************************************************** -** Connect to sql server -** If host == 0 then use localhost -**************************************************************************/ - -MYSQL * STDCALL -mysql_connect(MYSQL *mysql,const char *host, - const char *user, const char *passwd) -{ - MYSQL *res; - mysql=mysql_init(mysql); /* Make it thread safe */ - { - DBUG_ENTER("mysql_connect"); - if (!(res=mysql_real_connect(mysql,host,user,passwd,NullS,0,NullS,0))) - { - if (mysql->free_me) - my_free((gptr) mysql,MYF(0)); - } - DBUG_RETURN(res); - } -} - static inline int mysql_init_charset(MYSQL *mysql) { char charset_name_buff[16], *charset_name; |