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
7ff92949
Commit
7ff92949
authored
Aug 03, 2004
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compilation failure fix.
parent
34ec6a24
Changes
1
Show 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 @
7ff92949
...
@@ -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