~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/suite/funcs_1/t/is_cml_innodb.test

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# suite/funcs_1/t/is_cml_innodb.test
 
2
#
 
3
# Check the content of information_schema.columns about tables using
 
4
# UNICODE columns.
 
5
# Variant for storage engine InnoDB
 
6
#
 
7
# Author:
 
8
# 2008-06-04 mleich Create this script based on older scripts and new code.
 
9
#
 
10
 
 
11
--source include/have_ucs2.inc
 
12
 
 
13
# This test cannot be used for the embedded server because privileges
 
14
# are expected within result sets.
 
15
--source include/not_embedded.inc
 
16
 
 
17
--source include/have_innodb.inc
 
18
let $engine_type= InnoDB;
 
19
USE test;
 
20
--disable_warnings
 
21
DROP TABLE IF EXISTS t1;
 
22
--enable_warnings
 
23
eval CREATE TABLE t1
 
24
(
 
25
   f1 CHAR         UNICODE,
 
26
   f2 CHAR(0)      UNICODE,
 
27
   f3 CHAR(10)     UNICODE,
 
28
   f5 VARCHAR(0)   UNICODE,
 
29
   f6 VARCHAR(255) UNICODE,
 
30
   f7 VARCHAR(260) UNICODE,
 
31
   f8 TEXT         UNICODE,
 
32
   f9 TINYTEXT     UNICODE,
 
33
   f10 MEDIUMTEXT  UNICODE,
 
34
   f11 LONGTEXT    UNICODE
 
35
) ENGINE = $engine_type;
 
36
 
 
37
# We look only for the tables created here.
 
38
let $my_where = WHERE table_schema LIKE 'test%';
 
39
--source suite/funcs_1/datadict/columns.inc
 
40
 
 
41
DROP TABLE t1;