mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
client/mysqlmanagerc.c
added support for quiet increased line buffer size client/mysqltest.c fixed memory leak added query logging to result file added error message logging to result file added enable_query_log/disable_query_log mysql-test/mysql-test-run.sh converted tests to use mysqlmanager Updated test results
This commit is contained in:
@ -1,3 +1,12 @@
|
||||
drop table if exists t1;
|
||||
CREATE TABLE t1 (
|
||||
a char(5) NOT NULL,
|
||||
b char(4) NOT NULL,
|
||||
KEY (a),
|
||||
KEY (b)
|
||||
);
|
||||
INSERT INTO t1 VALUES ('A','B'),('b','A'),('C','c'),('D','E'),('a','a');
|
||||
select * from t1,t1 as t2;
|
||||
a b a b
|
||||
A B A B
|
||||
b A A B
|
||||
@ -24,9 +33,11 @@ b A a a
|
||||
C c a a
|
||||
D E a a
|
||||
a a a a
|
||||
explain select t1.*,t2.* from t1,t1 as t2 where t1.A=t2.B;
|
||||
table type possible_keys key key_len ref rows Extra
|
||||
t1 ALL a NULL NULL NULL 5
|
||||
t2 ALL b NULL NULL NULL 5 where used
|
||||
select t1.*,t2.* from t1,t1 as t2 where t1.A=t2.B order by binary t1.a,t2.a;
|
||||
a b a b
|
||||
A B a a
|
||||
A B b A
|
||||
@ -34,6 +45,8 @@ C c C c
|
||||
a a a a
|
||||
a a b A
|
||||
b A A B
|
||||
select * from t1 where a='a';
|
||||
a b
|
||||
A B
|
||||
a a
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user