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
3468c848
Commit
3468c848
authored
Jul 20, 2005
by
georg@lmy002.wdf.sap.corp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cs fixes from last commit
parent
3e1ae263
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
tests/mysql_client_test.c
tests/mysql_client_test.c
+10
-10
No files found.
tests/mysql_client_test.c
View file @
3468c848
...
@@ -11755,12 +11755,12 @@ static void test_bug12001()
...
@@ -11755,12 +11755,12 @@ static void test_bug12001()
{
{
MYSQL
*
mysql_local
;
MYSQL
*
mysql_local
;
MYSQL_RES
*
result
;
MYSQL_RES
*
result
;
const
char
*
query
=
"DROP TABLE IF EXISTS test_table;"
const
char
*
query
=
"DROP TABLE IF EXISTS test_table;"
"CREATE TABLE test_table(id INT);"
"CREATE TABLE test_table(id INT);"
"INSERT INTO test_table VALUES(10);"
"INSERT INTO test_table VALUES(10);"
"UPDATE test_table SET id=20 WHERE id=10;"
"UPDATE test_table SET id=20 WHERE id=10;"
"SELECT * FROM test_table;"
"SELECT * FROM test_table;"
"INSERT INTO non_existent_table VALUES(11);"
;
"INSERT INTO non_existent_table VALUES(11);"
;
int
rc
,
res
;
int
rc
,
res
;
myheader
(
"test_bug12001"
);
myheader
(
"test_bug12001"
);
...
@@ -11779,16 +11779,16 @@ static void test_bug12001()
...
@@ -11779,16 +11779,16 @@ static void test_bug12001()
exit
(
1
);
exit
(
1
);
}
}
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
);
mysql_close
(
mysql_local
);
mysql_close
(
mysql_local
);
...
...
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