summaryrefslogtreecommitdiff
path: root/mysql-test/r/view.result
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2007-01-22 19:18:22 +0200
committerunknown <monty@narttu.mysql.fi>2007-01-22 19:18:22 +0200
commita043cd152da16624b74ec9ee4d259b4570ef4dcd (patch)
treee1f7760d143c61bab6297ac28959e5b752a764ed /mysql-test/r/view.result
parent10f4f15e83f19d85cae4bff9240973c216ea98c7 (diff)
parentb4f80eedf3c25773d1e116ab915138096ec713f3 (diff)
downloadmariadb-git-a043cd152da16624b74ec9ee4d259b4570ef4dcd.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into mysql.com:/home/my/mysql-5.1 BUILD/SETUP.sh: Auto merged mysql-test/extra/binlog_tests/mix_innodb_myisam_binlog.test: Auto merged mysql-test/extra/rpl_tests/rpl_row_basic.test: Auto merged mysql-test/include/mix1.inc: Auto merged mysql-test/r/sp.result: Auto merged mysql-test/r/view.result: Auto merged mysql-test/t/ctype_utf8.test: Auto merged mysql-test/t/delayed.test: Auto merged mysql-test/t/innodb.test: Auto merged mysql-test/t/insert_select.test: Auto merged mysql-test/t/myisam.test: Auto merged mysql-test/t/ndb_index_unique.test: Auto merged mysql-test/t/rpl_row_create_table.test: Auto merged mysql-test/t/rpl_sp.test: Auto merged mysql-test/t/sp.test: Auto merged mysql-test/t/type_binary.test: Auto merged mysql-test/t/type_varchar.test: Auto merged mysql-test/t/view.test: Auto merged sql/handler.cc: Auto merged sql/sql_table.cc: Auto merged mysql-test/r/rpl_sp.result: Manual merge mysql-test/t/ndb_update.test: Manual merge sql/share/errmsg.txt: Manual merge
Diffstat (limited to 'mysql-test/r/view.result')
-rw-r--r--mysql-test/r/view.result2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/r/view.result b/mysql-test/r/view.result
index b338ba12685..3088e4d1559 100644
--- a/mysql-test/r/view.result
+++ b/mysql-test/r/view.result
@@ -2684,10 +2684,12 @@ FROM t1 HAVING Age < 75;
SHOW CREATE VIEW v1;
View Create View
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select (year(now()) - year(`t1`.`DOB`)) AS `Age` from `t1` having (`Age` < 75)
+set timestamp=1136066400;
SELECT (year(now())-year(DOB)) AS Age FROM t1 HAVING Age < 75;
Age
42
38
+set timestamp=1136066400;
SELECT * FROM v1;
Age
42