| 1 |
# suite/funcs_1/t/is_cml_memory.test |
| 2 |
# |
| 3 |
# Check the content of information_schema.columns about tables using |
| 4 |
# UNICODE columns. |
| 5 |
# Variant for storage engine MEMORY |
| 6 |
# |
| 7 |
# Author: |
| 8 |
# 2008-06-04 mleich Create this script based on older scripts and new code. |
| 9 |
# |
| 10 |
|
| 11 |
|
| 12 |
# --source include/have_memory.inc |
| 13 |
let $engine_type= MEMORY; |
| 14 |
SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION'; |
| 15 |
USE test; |
| 16 |
--disable_warnings |
| 17 |
DROP TABLE IF EXISTS t1; |
| 18 |
--enable_warnings |
| 19 |
eval CREATE TABLE t1 |
| 20 |
( |
| 21 |
f1 CHAR UNICODE, |
| 22 |
f2 CHAR(0) UNICODE, |
| 23 |
f3 CHAR(10) UNICODE, |
| 24 |
f5 VARCHAR(0) UNICODE, |
| 25 |
f6 VARCHAR(255) UNICODE, |
| 26 |
f7 VARCHAR(260) UNICODE |
| 27 |
) ENGINE = $engine_type; |
| 28 |
|
| 29 |
# We look only for the tables created here. |
| 30 |
let $my_where = WHERE table_schema LIKE 'test%'; |
| 31 |
--source suite/funcs_1/datadict/columns.inc |
| 32 |
|
| 33 |
DROP TABLE t1; |