diff options
author | Mattias Jonsson <mattias.jonsson@sun.com> | 2009-11-17 16:24:46 +0100 |
---|---|---|
committer | Mattias Jonsson <mattias.jonsson@sun.com> | 2009-11-17 16:24:46 +0100 |
commit | e6d02a127e9ba439bc6afba885678b51a523210c (patch) | |
tree | 27a931a0f906af3a48a72b7e95e79e1bf3b7329a /mysql-test/t/partition.test | |
parent | c4584fc6d40a6a673e7a46750b575effddef6207 (diff) | |
parent | b35feb1ed0aa934ea244163ecea54b5e45157138 (diff) | |
download | mariadb-git-e6d02a127e9ba439bc6afba885678b51a523210c.tar.gz |
merge
Diffstat (limited to 'mysql-test/t/partition.test')
-rw-r--r-- | mysql-test/t/partition.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/t/partition.test b/mysql-test/t/partition.test index 1dfc53c6232..2bd2e7c6821 100644 --- a/mysql-test/t/partition.test +++ b/mysql-test/t/partition.test @@ -2031,11 +2031,14 @@ DROP TABLE t1; --echo # --echo # Bug #45807: crash accessing partitioned table and sql_mode --echo # contains ONLY_FULL_GROUP_BY +--echo # Bug#46923: select count(*) from partitioned table fails with +--echo # ONLY_FULL_GROUP_BY --echo # SET SESSION SQL_MODE='ONLY_FULL_GROUP_BY'; CREATE TABLE t1(id INT,KEY(id)) ENGINE=MYISAM PARTITION BY HASH(id) PARTITIONS 2; +SELECT COUNT(*) FROM t1; DROP TABLE t1; SET SESSION SQL_MODE=DEFAULT; |