Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
9db115c0
Commit
9db115c0
authored
Dec 24, 2003
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1
into deer.(none):/home/hf/work/mysql-4.1.2046
parents
d1517d49
757acc51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
libmysqld/libmysqld.c
libmysqld/libmysqld.c
+0
-22
No files found.
libmysqld/libmysqld.c
View file @
9db115c0
...
@@ -81,28 +81,6 @@ static void end_server(MYSQL *mysql)
...
@@ -81,28 +81,6 @@ static void end_server(MYSQL *mysql)
DBUG_VOID_RETURN
;
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
)
static
inline
int
mysql_init_charset
(
MYSQL
*
mysql
)
{
{
char
charset_name_buff
[
16
],
*
charset_name
;
char
charset_name_buff
[
16
],
*
charset_name
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment