mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
db951c2fa2
mysql-test/r/binary.result: fixed test to be independed from environment mysql-test/r/delayed.result: fixed test to be independed from environment mysql-test/r/fulltext_left_join.result: fixed test to be independed from environment mysql-test/r/func_group.result: fixed test to be independed from environment mysql-test/r/func_in.result: fixed test to be independed from environment mysql-test/r/key_primary.result: fixed test to be independed from environment mysql-test/r/lock_multi.result: fixed test to be independed from environment mysql-test/r/odbc.result: fixed test to be independed from environment mysql-test/r/type_set.result: fixed test to be independed from environment mysql-test/r/type_time.result: fixed test to be independed from environment mysql-test/r/type_timestamp.result: fixed test to be independed from environment mysql-test/r/type_year.result: fixed test to be independed from environment mysql-test/r/varbinary.result: fixed test to be independed from environment mysql-test/r/warnings.result: fixed test to be independed from environment mysql-test/t/binary.test: fixed test to be independed from environment mysql-test/t/delayed.test: fixed test to be independed from environment mysql-test/t/flush_table.test: fixed test to be independed from environment mysql-test/t/fulltext_left_join.test: fixed test to be independed from environment mysql-test/t/func_group.test: fixed test to be independed from environment mysql-test/t/func_in.test: fixed test to be independed from environment mysql-test/t/key_primary.test: fixed test to be independed from environment mysql-test/t/lock_multi.test: fixed test to be independed from environment mysql-test/t/odbc.test: fixed test to be independed from environment mysql-test/t/type_set.test: fixed test to be independed from environment mysql-test/t/type_time.test: fixed test to be independed from environment mysql-test/t/type_timestamp.test: fixed test to be independed from environment mysql-test/t/type_year.test: fixed test to be independed from environment mysql-test/t/varbinary.test: fixed test to be independed from environment mysql-test/t/warnings.test: fixed test to be independed from environment
20 lines
528 B
Text
20 lines
528 B
Text
drop table if exists t1;
|
|
create table t1 (t1 char(3) primary key);
|
|
insert into t1 values("ABC");
|
|
insert into t1 values("ABA");
|
|
insert into t1 values("AB%");
|
|
select * from t1 where t1="ABC";
|
|
t1
|
|
ABC
|
|
select * from t1 where t1="ABCD";
|
|
t1
|
|
select * from t1 where t1 like "a_\%";
|
|
t1
|
|
AB%
|
|
describe select * from t1 where t1="ABC";
|
|
table type possible_keys key key_len ref rows Extra
|
|
t1 const PRIMARY PRIMARY 3 const 1
|
|
describe select * from t1 where t1="ABCD";
|
|
Comment
|
|
Impossible WHERE noticed after reading const tables
|
|
drop table t1;
|