Skip to content

Commit

Permalink
A follow up fix for MDEV-5528
Browse files Browse the repository at this point in the history
(forgot to do "git add" for two files in the previous commit for MDEV-5528)
  • Loading branch information
Alexander Barkov committed Nov 4, 2014
1 parent 251fa7f commit 8e27845
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mysql-test/suite/innodb/r/innodb_mysql.result
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ EXPLAIN
SELECT COUNT(*) FROM t1 FORCE INDEX(idx_b, idx_c)
WHERE (c >= '2007-01-02' AND c <= '2007-01-03') OR b >= 1;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index_merge idx_b,idx_c idx_c,idx_b 8,4 NULL # Using sort_union(idx_c,idx_b); Using where
1 SIMPLE t1 index_merge idx_b,idx_c idx_c,idx_b 5,4 NULL # Using sort_union(idx_c,idx_b); Using where
SELECT COUNT(*) FROM t1 FORCE INDEX(idx_b, idx_c)
WHERE (c >= '2007-01-02' AND c <= '2007-01-03') OR b >= 1;
COUNT(*)
Expand Down
4 changes: 2 additions & 2 deletions storage/xtradb/dict/dict0stats.cc
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ dict_stats_persistent_storage_check(
{"table_name", DATA_VARMYSQL,
DATA_NOT_NULL, 192},

{"last_update", DATA_INT,
{"last_update", DATA_FIXBINARY,
DATA_NOT_NULL, 4},

{"n_rows", DATA_INT,
Expand Down Expand Up @@ -225,7 +225,7 @@ dict_stats_persistent_storage_check(
{"index_name", DATA_VARMYSQL,
DATA_NOT_NULL, 192},

{"last_update", DATA_INT,
{"last_update", DATA_FIXBINARY,
DATA_NOT_NULL, 4},

{"stat_name", DATA_VARMYSQL,
Expand Down

0 comments on commit 8e27845

Please sign in to comment.