summaryrefslogtreecommitdiff
path: root/mysql-test/t/partition_bug18198.test
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2014-12-02 09:04:09 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2014-12-02 09:29:53 +0100
commit53ff66fe31ee4e0fa646f646cee10095390471af (patch)
tree6db707a02ac0fc3fcfc06d9d933c4c35923285c2 /mysql-test/t/partition_bug18198.test
parentd6e881643508b77ae482014a061927f91f4a8eec (diff)
downloadmariadb-git-53ff66fe31ee4e0fa646f646cee10095390471af.tar.gz
MDEV-6996: SET STATEMENT default_week_format = .. has no effect
Change constant with a system variable.
Diffstat (limited to 'mysql-test/t/partition_bug18198.test')
-rw-r--r--mysql-test/t/partition_bug18198.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/partition_bug18198.test b/mysql-test/t/partition_bug18198.test
index 720d483e8ed..75544f58ce8 100644
--- a/mysql-test/t/partition_bug18198.test
+++ b/mysql-test/t/partition_bug18198.test
@@ -163,7 +163,7 @@ create table t1 (col1 date)
partition by range(unix_timestamp(col1))
(partition p0 values less than (10), partition p1 values less than (30));
--- error ER_PARTITION_FUNCTION_IS_NOT_ALLOWED
+-- error ER_PARSE_ERROR
create table t1 (col1 datetime)
partition by range(week(col1))
(partition p0 values less than (10), partition p1 values less than (30));