mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
c1a80bc061
Fixed bug in UNION client/mysqlbinlog.cc: Added error message handling to read_log_event() heap/hp_write.c: More debug info myisam/myisampack.c: Cleanup mysql-test/mysql-test-run.sh: Portability fixes. mysql-test/r/union.result: More tests cases for UNION mysql-test/t/union.test: More tests cases for UNION sql/Makefile.am: Added mysql_embed.h sql/item.cc: Fixed bug when using the same table multiple times in union. sql/log_event.cc: Removed use of ## construct (Portability problem) sql/log_event.h: Added error message handling to read_log_event() sql/mysql_priv.h: Added mysql_embed.h sql/opt_sum.cc: Cleanup sql/slave.cc: cleanup sql/sql_base.cc: Integrated table->ref_primary_key into table->part_of_key sql/sql_union.cc: Cleanup sql/table.cc: Integrated table->ref_primary_key into table->part_of_key sql/table.h: Integrated table->ref_primary_key into table->part_of_key
84 lines
571 B
Text
84 lines
571 B
Text
a b
|
|
1 a
|
|
2 b
|
|
3 c
|
|
4 d
|
|
5 f
|
|
6 e
|
|
a b
|
|
1 a
|
|
2 b
|
|
3 c
|
|
3 c
|
|
3 c
|
|
4 d
|
|
5 f
|
|
6 e
|
|
a b
|
|
1 a
|
|
2 b
|
|
3 c
|
|
3 c
|
|
3 c
|
|
4 d
|
|
6 e
|
|
5 f
|
|
a b
|
|
1 a
|
|
2 b
|
|
3 c
|
|
3 c
|
|
3 c
|
|
4 d
|
|
5 f
|
|
6 e
|
|
7 g
|
|
0 #
|
|
0 #
|
|
1 a
|
|
2 b
|
|
3 c
|
|
3 c
|
|
3 c
|
|
4 d
|
|
5 f
|
|
6 e
|
|
7 g
|
|
a b
|
|
1 a
|
|
2 b
|
|
3 c
|
|
t1 b count(*)
|
|
t1 a 1
|
|
t1 b 1
|
|
t1 c 2
|
|
t2 c 1
|
|
t2 d 1
|
|
t2 e 1
|
|
t2 f 1
|
|
table type possible_keys key key_len ref rows Extra
|
|
t1 ALL NULL NULL NULL NULL 4
|
|
t2 ALL NULL NULL NULL NULL 4
|
|
pseudo
|
|
dekad
|
|
joce
|
|
pseudo1
|
|
joce
|
|
testtt
|
|
tsestset
|
|
pseudo pseudo1 same
|
|
joce tsestset 1
|
|
joce testtt 1
|
|
dekad joce 1
|
|
pseudo1
|
|
testtt
|
|
tsestset
|
|
dekad
|
|
pseudo1
|
|
testtt
|
|
tsestset
|
|
dekad
|
|
pseudo1
|
|
testtt
|
|
tsestset
|
|
1
|