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
9bd52409
Commit
9bd52409
authored
Aug 03, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compilation failure fix.
parent
0af9f9c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
tests/client_test.c
tests/client_test.c
+5
-6
No files found.
tests/client_test.c
View file @
9bd52409
...
@@ -10593,7 +10593,6 @@ static void test_view_insert_fields()
...
@@ -10593,7 +10593,6 @@ static void test_view_insert_fields()
static
void
test_basic_cursors
()
static
void
test_basic_cursors
()
{
{
myheader
(
"test_basic_cursors"
);
const
char
*
basic_tables
[]
=
const
char
*
basic_tables
[]
=
{
{
"DROP TABLE IF EXISTS t1, t2"
,
"DROP TABLE IF EXISTS t1, t2"
,
...
@@ -10620,28 +10619,28 @@ static void test_basic_cursors()
...
@@ -10620,28 +10619,28 @@ static void test_basic_cursors()
" (10, 'Azerbaijan'), (11, 'Afghanistan'), "
" (10, 'Azerbaijan'), (11, 'Afghanistan'), "
" (12, 'Burkina Faso'), (13, 'Faroe Islands')"
" (12, 'Burkina Faso'), (13, 'Faroe Islands')"
};
};
fill_tables
(
basic_tables
,
sizeof
(
basic_tables
)
/
sizeof
(
*
basic_tables
));
const
char
*
queries
[]
=
const
char
*
queries
[]
=
{
{
"SELECT * FROM t1"
,
"SELECT * FROM t1"
,
"SELECT * FROM t2"
"SELECT * FROM t2"
};
};
myheader
(
"test_basic_cursors"
);
fill_tables
(
basic_tables
,
sizeof
(
basic_tables
)
/
sizeof
(
*
basic_tables
));
fetch_n
(
queries
,
sizeof
(
queries
)
/
sizeof
(
*
queries
));
fetch_n
(
queries
,
sizeof
(
queries
)
/
sizeof
(
*
queries
));
}
}
static
void
test_cursors_with_union
()
static
void
test_cursors_with_union
()
{
{
myheader
(
"test_cursors_with_union"
);
const
char
*
queries
[]
=
const
char
*
queries
[]
=
{
{
"SELECT t1.name FROM t1 UNION SELECT t2.name FROM t2"
,
"SELECT t1.name FROM t1 UNION SELECT t2.name FROM t2"
,
"SELECT t1.id FROM t1 WHERE t1.id < 5"
"SELECT t1.id FROM t1 WHERE t1.id < 5"
};
};
myheader
(
"test_cursors_with_union"
);
fetch_n
(
queries
,
sizeof
(
queries
)
/
sizeof
(
*
queries
));
fetch_n
(
queries
,
sizeof
(
queries
)
/
sizeof
(
*
queries
));
}
}
...
...
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