diff options
author | unknown <msvensson@neptunus.(none)> | 2006-10-19 00:11:13 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-10-19 00:11:13 +0200 |
commit | 8e24510c370a8dc000e15c1588fc485cc11d9a11 (patch) | |
tree | 10023f865522941d4fc038b46b7e244198e9acb4 /tests | |
parent | a1fafb26c442ac29b8af4ef350d5235e26a4bc41 (diff) | |
parent | 6b6deee80a7df76665ba971bce9456bfe209965e (diff) | |
download | mariadb-git-8e24510c370a8dc000e15c1588fc485cc11d9a11.tar.gz |
Merge neptunus.(none):/home/msvensson/mysql/bug17039/my51-bug17039
into neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
tests/mysql_client_test.c:
Auto merged
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mysql_client_test.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index 148295398f4..86680d45841 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -11977,6 +11977,19 @@ static void test_cursors_with_union() fetch_n(queries, sizeof(queries)/sizeof(*queries), USE_STORE_RESULT); } + +static void test_cursors_with_procedure() +{ + const char *queries[]= + { + "SELECT * FROM t1 procedure analyse()" + }; + myheader("test_cursors_with_procedure"); + fetch_n(queries, sizeof(queries)/sizeof(*queries), USE_ROW_BY_ROW_FETCH); + fetch_n(queries, sizeof(queries)/sizeof(*queries), USE_STORE_RESULT); +} + + /* Altough mysql_create_db(), mysql_rm_db() are deprecated since 4.0 they should not crash server and should not hang in case of errors. @@ -15702,6 +15715,7 @@ static struct my_tests_st my_tests[]= { { "test_view_insert_fields", test_view_insert_fields }, { "test_basic_cursors", test_basic_cursors }, { "test_cursors_with_union", test_cursors_with_union }, + { "test_cursors_with_procedure", test_cursors_with_procedure }, { "test_truncation", test_truncation }, { "test_truncation_option", test_truncation_option }, { "test_client_character_set", test_client_character_set }, |