summaryrefslogtreecommitdiff
path: root/tests/mysql_client_test.c
diff options
context:
space:
mode:
authorSergey Glukhov <Sergey.Glukhov@sun.com>2008-12-11 12:57:59 +0400
committerSergey Glukhov <Sergey.Glukhov@sun.com>2008-12-11 12:57:59 +0400
commit87ea5307d0750d33aec28bf7613a5b80c5c0dac2 (patch)
tree3da5716296a125c174882d04f4db0b0d30f6f9d4 /tests/mysql_client_test.c
parentb3d59b09a8b3a9df94608830e0a5e47fde2fc1bb (diff)
downloadmariadb-git-87ea5307d0750d33aec28bf7613a5b80c5c0dac2.tar.gz
disable bug37956 test if geometry package is not enabled
Diffstat (limited to 'tests/mysql_client_test.c')
-rw-r--r--tests/mysql_client_test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index ea4d363bdac..79d188c252c 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -15899,6 +15899,7 @@ static void test_bug28934()
}
+#ifdef HAVE_SPATIAL
/**
Bug#37956 memory leak and / or crash with geometry and prepared statements!
*/
@@ -15951,6 +15952,7 @@ static void test_bug37956(void)
DIE_UNLESS(0);
DBUG_VOID_RETURN;
}
+#endif
/*
Bug#27592 (stack overrun when storing datetime value using prepared statements)
@@ -16648,7 +16650,9 @@ static struct my_tests_st my_tests[]= {
{ "test_bug32265", test_bug32265 },
{ "test_bug38486", test_bug38486 },
{ "test_bug40365", test_bug40365 },
+#ifdef HAVE_SPATIAL
{ "test_bug37956", test_bug37956 },
+#endif
{ 0, 0 }
};