mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
2682a280c8
storage/innobase/handler/handler0alter.cc: for NEWDATE key_type says unsigned, thus col->prtype says unsigned, but field->flags says signed. Use the same flag for value retrieval that was used for value storage.
20 lines
1.1 KiB
Text
20 lines
1.1 KiB
Text
--- r/subselect_sj2_jcl6.result 2012-01-11 18:05:14.000000000 +0100
|
|
+++ r/subselect_sj2_jcl6.reject 2012-02-07 12:52:32.000000000 +0100
|
|
@@ -81,7 +81,7 @@
|
|
explain select * from t3 where b in (select a from t1);
|
|
id select_type table type possible_keys key key_len ref rows Extra
|
|
1 PRIMARY <subquery2> ALL distinct_key NULL NULL NULL 3
|
|
-1 PRIMARY t3 ref b b 5 test.t1.a 1 Using join buffer (flat, BKA join); Key-ordered Rowid-ordered scan
|
|
+1 PRIMARY t3 ref b b 5 test.t1.a 1
|
|
2 MATERIALIZED t1 ALL NULL NULL NULL NULL 3 Using where
|
|
select * from t3 where b in (select a from t1);
|
|
a b pk1 pk2 pk3
|
|
@@ -107,7 +107,7 @@
|
|
explain select * from t3 where b in (select a from t0);
|
|
id select_type table type possible_keys key key_len ref rows Extra
|
|
1 PRIMARY <subquery2> ALL distinct_key NULL NULL NULL 10
|
|
-1 PRIMARY t3 ref b b 5 test.t0.a 1 Using join buffer (flat, BKA join); Key-ordered Rowid-ordered scan
|
|
+1 PRIMARY t3 ref b b 5 test.t0.a 1
|
|
2 MATERIALIZED t0 ALL NULL NULL NULL NULL 10 Using where
|
|
select * from t3 where b in (select A.a+B.a from t0 A, t0 B where B.a<5);
|
|
a b pk1 pk2
|