summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorjimw@mysql.com <>2005-07-15 10:52:22 -0700
committerjimw@mysql.com <>2005-07-15 10:52:22 -0700
commitb4b874568b8640140b0ad674cd38dc5e37b0ef0b (patch)
tree923200fb8ad2d6ca10056af777fd3e2940a8d141 /mysql-test/r
parentb144b920a0b40dbb56e104b51eb4a8e39461db9a (diff)
parentec54dcb054d5de896b39d3e61a8afba1d8b35915 (diff)
downloadmariadb-git-b4b874568b8640140b0ad674cd38dc5e37b0ef0b.tar.gz
Merge mysql.com:/home/jimw/my/mysql-4.1-9979
into mysql.com:/home/jimw/my/mysql-4.1-clean
Diffstat (limited to 'mysql-test/r')
-rw-r--r--mysql-test/r/timezone_grant.result7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/r/timezone_grant.result b/mysql-test/r/timezone_grant.result
index 685f8007ac7..471cacde300 100644
--- a/mysql-test/r/timezone_grant.result
+++ b/mysql-test/r/timezone_grant.result
@@ -45,6 +45,13 @@ select * from mysql.time_zone_name;
ERROR 42000: SELECT command denied to user 'mysqltest_1'@'localhost' for table 'time_zone_name'
select Name, convert_tz('2004-11-30 12:00:00', Name, 'UTC') from mysql.time_zone_name;
ERROR 42000: SELECT command denied to user 'mysqltest_1'@'localhost' for table 'time_zone_name'
+drop table t1, t2;
+create table t1 (a int, b datetime);
+create table t2 (a int, b varchar(40));
+update t1 set b = '2005-01-01 10:00';
+update t1 set b = convert_tz(b, 'UTC', 'UTC');
+update t1 join t2 on (t1.a = t2.a) set t1.b = '2005-01-01 10:00' where t2.b = 'foo';
+update t1 join t2 on (t1.a = t2.a) set t1.b = convert_tz('2005-01-01 10:00','UTC','UTC') where t2.b = 'foo';
delete from mysql.user where user like 'mysqltest\_%';
delete from mysql.db where user like 'mysqltest\_%';
delete from mysql.tables_priv where user like 'mysqltest\_%';