summaryrefslogtreecommitdiff
path: root/tests
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
commit7f5d980af70c2d7c8ba88a3ef8bef45fca4e635b (patch)
tree3da5716296a125c174882d04f4db0b0d30f6f9d4 /tests
parenta81a01583175d84a138e48eda6fddbc5ec85c9d5 (diff)
downloadmariadb-git-7f5d980af70c2d7c8ba88a3ef8bef45fca4e635b.tar.gz
disable bug37956 test if geometry package is not enabled
Diffstat (limited to 'tests')
-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 }
};