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
a73a9da3
Commit
a73a9da3
authored
Aug 05, 2006
by
rburnett@production.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql_client_test.c:
Moving call that processes select results out of the assert
parent
60908891
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
tests/mysql_client_test.c
tests/mysql_client_test.c
+3
-1
No files found.
tests/mysql_client_test.c
View file @
a73a9da3
...
...
@@ -11226,6 +11226,7 @@ static void test_view_insert()
for
(
i
=
0
;
i
<
3
;
i
++
)
{
int
rowcount
=
0
;
my_val
=
i
;
rc
=
mysql_stmt_execute
(
insert_stmt
);
...
...
@@ -11233,7 +11234,8 @@ static void test_view_insert()
rc
=
mysql_stmt_execute
(
select_stmt
);
check_execute
(
select_stmt
,
rc
);
assert
(
i
+
1
==
(
int
)
my_process_stmt_result
(
select_stmt
));
rowcount
=
(
int
)
my_process_stmt_result
(
select_stmt
);
assert
((
i
+
1
)
==
rowcount
);
}
mysql_stmt_close
(
insert_stmt
);
mysql_stmt_close
(
select_stmt
);
...
...
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