summaryrefslogtreecommitdiff
path: root/mysql-test/suite/funcs_1/t/is_tables_memory.test
diff options
context:
space:
mode:
authorMatthias Leich mleich@mysql.com <Unknown>2008-06-16 20:39:58 +0200
committerMatthias Leich mleich@mysql.com <Unknown>2008-06-16 20:39:58 +0200
commit28f9704737def200d6e608bce07cf2d437cc872e (patch)
tree8cd4d523083caecd55a18062b41b2911d0b054be /mysql-test/suite/funcs_1/t/is_tables_memory.test
parent15440264430b8dd7c10d950926a34f8f20f14427 (diff)
downloadmariadb-git-28f9704737def200d6e608bce07cf2d437cc872e.tar.gz
Fix for
Bug#37167 funcs_1: Many tests fail if the embedded server is used. Bug#37164 funcs_1: Some tests fail if an optional character set is missing. + some cleanup within the testsuite related to the fixes above + some adjustments to open bugs on Mac OS X Details: - Remove the initial loading of data from tests if these data are not somewhere retrieved - Remove any use of columns with attribute unicode (-> UCS2 is no more needed) from tests where unicode properties are not checked or somehow required - Create a separate branch of the Character maximum length test (CML). If UCS2 is available than this test gets applied to every available type of string column with attribute unicode This prevents any loss of coverage by the points above. - Disable the execution of is_tables_ndb which gives wrong results because of a bug. Correct the exepected results of this test. - In case of tests failing when applied to the embedded server 1) Create a variant of this test for the embedded server or 2) Skip the test in case of embedded server depending on purpose and complexity of test. - Skip the tests which could suffer from Bug 28309 First insert violates unique constraint - was "memory" table empty ? Bug 37380 Test funcs_1.is_columns_myisam_embedded fails on OS X (both bugs Mac OS X, embedded server, MySQL 5.0 only) - Minor improvements like remove typos
Diffstat (limited to 'mysql-test/suite/funcs_1/t/is_tables_memory.test')
-rw-r--r--mysql-test/suite/funcs_1/t/is_tables_memory.test12
1 files changed, 6 insertions, 6 deletions
diff --git a/mysql-test/suite/funcs_1/t/is_tables_memory.test b/mysql-test/suite/funcs_1/t/is_tables_memory.test
index 8b5da595462..68909aee866 100644
--- a/mysql-test/suite/funcs_1/t/is_tables_memory.test
+++ b/mysql-test/suite/funcs_1/t/is_tables_memory.test
@@ -10,13 +10,13 @@
# Create this script based on older scripts and new code.
#
+# This test cannot be used for the embedded server because we check here
+# privileges.
+--source include/not_embedded.inc
+
let $engine_type= MEMORY;
SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION';
---source suite/funcs_1/datadict/datadict_load.inc
---enable_abort_on_error
-# We look only for the tables created by datadict_load.inc.
+# We look only for the tables created by suite/funcs_1/datadict/tables.inc
let $my_where = WHERE table_schema LIKE 'test%' AND table_type = 'BASE TABLE';
---source suite/funcs_1/datadict/tables1.inc
-
---source suite/funcs_1/include/cleanup.inc
+--source suite/funcs_1/datadict/tables.inc