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
cf1a9d3b
Commit
cf1a9d3b
authored
Aug 10, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/kostja/mysql/mysql-5.0-12243
parents
259da9d1
ad729777
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
10 deletions
+16
-10
tests/mysql_client_test.c
tests/mysql_client_test.c
+16
-10
No files found.
tests/mysql_client_test.c
View file @
cf1a9d3b
...
@@ -13911,7 +13911,9 @@ static void test_bug12001()
...
@@ -13911,7 +13911,9 @@ static void test_bug12001()
/* Create connection that supports multi statements */
/* Create connection that supports multi statements */
if
(
!
mysql_real_connect
(
mysql_local
,
opt_host
,
opt_user
,
if
(
!
mysql_real_connect
(
mysql_local
,
opt_host
,
opt_user
,
opt_password
,
current_db
,
opt_port
,
opt_password
,
current_db
,
opt_port
,
opt_unix_socket
,
CLIENT_MULTI_STATEMENTS
|
CLIENT_MULTI_RESULTS
))
{
opt_unix_socket
,
CLIENT_MULTI_STATEMENTS
|
CLIENT_MULTI_RESULTS
))
{
fprintf
(
stdout
,
"
\n
mysql_real_connect() failed"
);
fprintf
(
stdout
,
"
\n
mysql_real_connect() failed"
);
exit
(
1
);
exit
(
1
);
}
}
...
@@ -13919,11 +13921,15 @@ static void test_bug12001()
...
@@ -13919,11 +13921,15 @@ static void test_bug12001()
rc
=
mysql_query
(
mysql_local
,
query
);
rc
=
mysql_query
(
mysql_local
,
query
);
myquery
(
rc
);
myquery
(
rc
);
do
{
do
if
(
mysql_field_count
(
mysql_local
)
&&
(
result
=
mysql_use_result
(
mysql_local
)))
{
{
if
(
mysql_field_count
(
mysql_local
)
&&
(
result
=
mysql_use_result
(
mysql_local
)))
{
mysql_free_result
(
result
);
mysql_free_result
(
result
);
}
}
}
while
(
!
(
res
=
mysql_next_result
(
mysql_local
)));
}
while
(
!
(
res
=
mysql_next_result
(
mysql_local
)));
rc
=
mysql_query
(
mysql_local
,
"DROP TABLE IF EXISTS test_table"
);
rc
=
mysql_query
(
mysql_local
,
"DROP TABLE IF EXISTS test_table"
);
myquery
(
rc
);
myquery
(
rc
);
...
...
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