~maria-captains/maria/mysql-6.0-backup

« back to all changes in this revision

Viewing changes to mysql-test/include/ctype_datetime.inc

  • Committer: Thava Alagu
  • Date: 2010-03-11 19:18:17 UTC
  • mfrom: (3719.14.62 mysql-6.0-codebase)
  • Revision ID: thavamuni.alagu@sun.com-20100311191817-5nigmq884xo9fuut
Merge from mysql-6.0-codebase

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Bug#32390 Character sets: casting utf32 to/from date doesn't work
 
3
#
 
4
CREATE TABLE t1 AS SELECT repeat('a',20) AS s1 LIMIT 0;
 
5
SET timestamp=1216359724;
 
6
INSERT INTO t1 VALUES (current_date);
 
7
INSERT INTO t1 VALUES (current_time);
 
8
INSERT INTO t1 VALUES (current_timestamp);
 
9
SELECT s1, hex(s1) FROM t1;
 
10
DROP TABLE t1;
 
11
SET timestamp=0;