diff options
author | Bernt M. Johnsen <bernt.johnsen@sun.com> | 2009-07-03 10:33:34 +0200 |
---|---|---|
committer | Bernt M. Johnsen <bernt.johnsen@sun.com> | 2009-07-03 10:33:34 +0200 |
commit | 61488d2abbaef189b45fa076a540d37088eceb7a (patch) | |
tree | 22e4c22626f415891259da6d4791d1fc4d7d571c /mysql-test/t | |
parent | 768f5b08fb3b46706b2e634134f33d0fa2776ab6 (diff) | |
parent | ae8950f1e831e267894e8363cd289a9ebb5d2311 (diff) | |
download | mariadb-git-61488d2abbaef189b45fa076a540d37088eceb7a.tar.gz |
automerge
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/partition.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/partition.test b/mysql-test/t/partition.test index 8535e1bc5c2..8b4af201af2 100644 --- a/mysql-test/t/partition.test +++ b/mysql-test/t/partition.test @@ -1976,6 +1976,17 @@ SELECT b, c FROM t1 WHERE b = 1 GROUP BY b, c; DROP TABLE t1; +--echo # +--echo # Bug #45807: crash accessing partitioned table and sql_mode +--echo # contains 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; +DROP TABLE t1; +SET SESSION SQL_MODE=DEFAULT; + --echo End of 5.1 tests SET @@global.general_log= @old_general_log; |