Commit 9bd52409 authored by unknown's avatar unknown

Compilation failure fix.

parent 0af9f9c9
...@@ -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));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment