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

« back to all changes in this revision

Viewing changes to mysql-test/t/ctype_hebrew.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
#
 
2
# BUG #24037: Lossy Hebrew to Unicode conversion
 
3
#
 
4
# Test if LRM and RLM characters are correctly converted to UTF-8
 
5
--disable_warnings
 
6
DROP TABLE IF EXISTS t1;
 
7
--enable_warnings
 
8
 
 
9
SET NAMES hebrew;
 
10
CREATE TABLE t1 (a char(1)) DEFAULT CHARSET=hebrew;
 
11
INSERT INTO t1 VALUES (0xFD),(0xFE);
 
12
ALTER TABLE t1 CONVERT TO CHARACTER SET utf8;
 
13
SELECT HEX(a) FROM t1;
 
14
DROP TABLE t1;
 
15
 
 
16
--echo End of 4.1 tests