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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
7a8a33a9
Commit
7a8a33a9
authored
Aug 05, 2006
by
Reggie@xgeek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
please don't call methods that should always execute inside assert()
parent
a73a9da3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
tests/mysql_client_test.c
tests/mysql_client_test.c
+12
-6
No files found.
tests/mysql_client_test.c
View file @
7a8a33a9
...
...
@@ -10996,7 +10996,8 @@ static void test_view()
{
rc
=
mysql_stmt_execute
(
stmt
);
check_execute
(
stmt
,
rc
);
assert
(
1
==
my_process_stmt_result
(
stmt
));
rc
=
my_process_stmt_result
(
stmt
);
assert
(
1
==
rc
);
}
mysql_stmt_close
(
stmt
);
...
...
@@ -11038,7 +11039,8 @@ static void test_view_where()
{
rc
=
mysql_stmt_execute
(
stmt
);
check_execute
(
stmt
,
rc
);
assert
(
4
==
my_process_stmt_result
(
stmt
));
rc
=
my_process_stmt_result
(
stmt
);
assert
(
4
==
rc
);
}
mysql_stmt_close
(
stmt
);
...
...
@@ -11120,7 +11122,8 @@ static void test_view_2where()
rc
=
mysql_stmt_execute
(
stmt
);
check_execute
(
stmt
,
rc
);
assert
(
0
==
my_process_stmt_result
(
stmt
));
rc
=
my_process_stmt_result
(
stmt
);
assert
(
0
==
rc
);
mysql_stmt_close
(
stmt
);
...
...
@@ -11172,7 +11175,8 @@ static void test_view_star()
{
rc
=
mysql_stmt_execute
(
stmt
);
check_execute
(
stmt
,
rc
);
assert
(
0
==
my_process_stmt_result
(
stmt
));
rc
=
my_process_stmt_result
(
stmt
);
assert
(
0
==
rc
);
}
mysql_stmt_close
(
stmt
);
...
...
@@ -11275,7 +11279,8 @@ static void test_left_join_view()
{
rc
=
mysql_stmt_execute
(
stmt
);
check_execute
(
stmt
,
rc
);
assert
(
3
==
my_process_stmt_result
(
stmt
));
rc
=
my_process_stmt_result
(
stmt
);
assert
(
3
==
rc
);
}
mysql_stmt_close
(
stmt
);
...
...
@@ -11350,7 +11355,8 @@ static void test_view_insert_fields()
check_execute
(
stmt
,
rc
);
rc
=
mysql_stmt_execute
(
stmt
);
check_execute
(
stmt
,
rc
);
assert
(
1
==
my_process_stmt_result
(
stmt
));
rc
=
my_process_stmt_result
(
stmt
);
assert
(
1
==
rc
);
mysql_stmt_close
(
stmt
);
rc
=
mysql_query
(
mysql
,
"DROP VIEW v1"
);
...
...
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