~ubuntu-branches/ubuntu/trusty/mariadb-5.5/trusty-proposed

« back to all changes in this revision

Viewing changes to storage/pbxt/mysql-test/main/r/type_datetime.rdiff

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen
  • Date: 2013-12-22 10:27:05 UTC
  • Revision ID: package-import@ubuntu.com-20131222102705-mndw7s12mz0szrcn
Tags: upstream-5.5.32
Import upstream version 5.5.32

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- r/type_datetime.result      2012-01-09 16:13:21.000000000 +0100
 
2
+++ r/type_datetime.reject      2012-02-10 16:23:40.000000000 +0100
 
3
@@ -20,6 +20,7 @@
 
4
 delete from t1 where t > 0;
 
5
 optimize table t1;
 
6
 Table  Op      Msg_type        Msg_text
 
7
+test.t1        optimize        note    Table does not support optimize, doing recreate + analyze instead
 
8
 test.t1        optimize        status  OK
 
9
 check table t1;
 
10
 Table  Op      Msg_type        Msg_text
 
11
@@ -203,7 +204,7 @@
 
12
 t1     CREATE TABLE `t1` (
 
13
   `da` date DEFAULT '1962-03-03',
 
14
   `dt` datetime DEFAULT '1962-03-03 00:00:00'
 
15
-) ENGINE=MyISAM DEFAULT CHARSET=latin1
 
16
+) ENGINE=PBXT DEFAULT CHARSET=latin1
 
17
 insert into t1 values ();
 
18
 insert into t1 values ('2007-03-23 13:49:38','2007-03-23 13:49:38');
 
19
 Warnings:
 
20
@@ -516,10 +517,11 @@
 
21
 select * from t1
 
22
 where id in (select id from t1 as x1 where (t1.cur_date is null));
 
23
 id     select_type     table   type    possible_keys   key     key_len ref     rows    filtered        Extra
 
24
-1      PRIMARY NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL    Impossible WHERE noticed after reading const tables
 
25
+1      PRIMARY t1      ALL     NULL    NULL    NULL    NULL    1       100.00  Using where
 
26
+1      PRIMARY x1      ALL     NULL    NULL    NULL    NULL    1       100.00  Using where; FirstMatch(t1)
 
27
 Warnings:
 
28
 Note   1276    Field or reference 'test.t1.cur_date' of SELECT #2 was resolved in SELECT #1
 
29
-Note   1003    select 1 AS `id`,'2007-04-25 18:30:22' AS `cur_date` from (dual) where (('2007-04-25 18:30:22' = 0))
 
30
+Note   1003    select `test`.`t1`.`id` AS `id`,`test`.`t1`.`cur_date` AS `cur_date` from `test`.`t1` semi join (`test`.`t1` `x1`) where ((`test`.`x1`.`id` = `test`.`t1`.`id`) and (`test`.`t1`.`cur_date` = 0))
 
31
 select * from t1
 
32
 where id in (select id from t1 as x1 where (t1.cur_date is null));
 
33
 id     cur_date
 
34
@@ -527,10 +529,11 @@
 
35
 select * from t2
 
36
 where id in (select id from t2 as x1 where (t2.cur_date is null));
 
37
 id     select_type     table   type    possible_keys   key     key_len ref     rows    filtered        Extra
 
38
-1      PRIMARY NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL    Impossible WHERE noticed after reading const tables
 
39
+1      PRIMARY t2      ALL     NULL    NULL    NULL    NULL    1       100.00  Using where
 
40
+1      PRIMARY x1      ALL     NULL    NULL    NULL    NULL    1       100.00  Using where; FirstMatch(t2)
 
41
 Warnings:
 
42
 Note   1276    Field or reference 'test.t2.cur_date' of SELECT #2 was resolved in SELECT #1
 
43
-Note   1003    select 1 AS `id`,'2007-04-25' AS `cur_date` from (dual) where (('2007-04-25' = 0))
 
44
+Note   1003    select `test`.`t2`.`id` AS `id`,`test`.`t2`.`cur_date` AS `cur_date` from `test`.`t2` semi join (`test`.`t2` `x1`) where ((`test`.`x1`.`id` = `test`.`t2`.`id`) and (`test`.`t2`.`cur_date` = 0))
 
45
 select * from t2
 
46
 where id in (select id from t2 as x1 where (t2.cur_date is null));
 
47
 id     cur_date
 
48
@@ -595,7 +598,7 @@
 
49
 t1     CREATE TABLE `t1` (
 
50
   `da` date DEFAULT '1962-03-03',
 
51
   `dt` datetime DEFAULT '1962-03-03 00:00:00'
 
52
-) ENGINE=MyISAM DEFAULT CHARSET=latin1
 
53
+) ENGINE=PBXT DEFAULT CHARSET=latin1
 
54
 insert into t1 values ();
 
55
 insert into t1 values ('2007-03-23 13:49:38','2007-03-23 13:49:38');
 
56
 Warnings: