mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
bb66c80aeb
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
12 lines
376 B
Text
12 lines
376 B
Text
drop table if exists t1,t2;
|
|
create table t1 (id int(10) not null unique);
|
|
create table t2 (id int(10) not null primary key,
|
|
val int(10) not null);
|
|
insert into t1 values (1),(2),(4);
|
|
insert into t2 values (1,1),(2,1),(3,1),(4,2);
|
|
select one.id, elt(two.val,'one','two') from t1 one, t2 two where two.id=one.id;
|
|
id elt(two.val,'one','two')
|
|
1 one
|
|
2 one
|
|
4 two
|
|
drop table t1,t2;
|