summaryrefslogtreecommitdiff
path: root/libmysqld/libmysqld.c
diff options
context:
space:
mode:
authorhf@deer.(none) <>2003-12-24 16:04:24 +0400
committerhf@deer.(none) <>2003-12-24 16:04:24 +0400
commit9db115c0271220d283c4683558b87f5af7bc1ef6 (patch)
tree961ad5e569e9254170a9f46976fab22743c0130e /libmysqld/libmysqld.c
parentd1517d49971b12e17295c3f5c803cd0bc2e5d66a (diff)
parent757acc512d1e216efedf3640dd69a48cbb1d61d8 (diff)
downloadmariadb-git-9db115c0271220d283c4683558b87f5af7bc1ef6.tar.gz
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1
into deer.(none):/home/hf/work/mysql-4.1.2046
Diffstat (limited to 'libmysqld/libmysqld.c')
-rw-r--r--libmysqld/libmysqld.c22
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;