Commit 63d2f81a authored by bar@mysql.com's avatar bar@mysql.com

Remove .opt file for faster test running.

parent 456aba6e
drop table if exists t1; drop table if exists t1;
SET NAMES cp1251; SET NAMES cp1251;
create table t1 (a varchar(10) not null); create table t1 (a varchar(10) not null) character set cp1251;
insert into t1 values ("a"),("ab"),("abc"); insert into t1 values ("a"),("ab"),("abc");
select * from t1; select * from t1;
a a
...@@ -23,7 +23,7 @@ a ...@@ -23,7 +23,7 @@ a
b b
c c
drop table t1; drop table t1;
create table t1 (a char(15) binary, b binary(15)); create table t1 (a char(15) binary, b binary(15)) character set cp1251;
insert into t1 values ('aaa','bbb'),('AAA','BBB'); insert into t1 values ('aaa','bbb'),('AAA','BBB');
select upper(a),upper(b) from t1; select upper(a),upper(b) from t1;
upper(a) upper(b) upper(a) upper(b)
......
--default-character-set=cp1251 --new
...@@ -10,7 +10,7 @@ SET NAMES cp1251; ...@@ -10,7 +10,7 @@ SET NAMES cp1251;
# Test problem with LEFT() (Bug #514) # Test problem with LEFT() (Bug #514)
# #
create table t1 (a varchar(10) not null); create table t1 (a varchar(10) not null) character set cp1251;
insert into t1 values ("a"),("ab"),("abc"); insert into t1 values ("a"),("ab"),("abc");
select * from t1; select * from t1;
select a, left(a,1) as b from t1; select a, left(a,1) as b from t1;
...@@ -21,7 +21,7 @@ drop table t1; ...@@ -21,7 +21,7 @@ drop table t1;
# #
# Test of binary and upper/lower # Test of binary and upper/lower
# #
create table t1 (a char(15) binary, b binary(15)); create table t1 (a char(15) binary, b binary(15)) character set cp1251;
insert into t1 values ('aaa','bbb'),('AAA','BBB'); insert into t1 values ('aaa','bbb'),('AAA','BBB');
select upper(a),upper(b) from t1; select upper(a),upper(b) from t1;
select lower(a),lower(b) from t1; select lower(a),lower(b) from t1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment