File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -55,11 +55,12 @@ SELECT * FROM t1;
55
55
a
56
56
2000-01-02 03:04:05
57
57
FLUSH TABLES;
58
+ # replacing t1.frm with TO_DAYS(a) which was allowed earlier.
59
+ # Disable warnings, since the result would differ when running with
60
+ # --ps-protocol (only for the 'SELECT * FROM t1' statement).
58
61
SELECT * FROM t1;
59
62
a
60
63
2000-01-02 03:04:05
61
- Warning 1486 Constant, random or timezone-dependent expressions in (sub)partitioning function are not allowed
62
- Warnings:
63
64
SHOW CREATE TABLE t1;
64
65
Table Create Table
65
66
t1 CREATE TABLE `t1` (
Original file line number Diff line number Diff line change @@ -74,10 +74,15 @@ INSERT INTO t1 VALUES ('2000-01-02 03:04:05');
74
74
--sorted_result
75
75
SELECT * FROM t1;
76
76
FLUSH TABLES;
77
+ --echo # replacing t1.frm with TO_DAYS(a) which was allowed earlier.
77
78
--remove_file $MYSQLD_DATADIR/test/t1.frm
78
79
--copy_file std_data/parts/t1TIMESTAMP.frm $MYSQLD_DATADIR/test/t1.frm
80
+ --echo # Disable warnings, since the result would differ when running with
81
+ --echo # --ps-protocol (only for the 'SELECT * FROM t1' statement).
82
+ --disable_warnings
79
83
--sorted_result
80
84
SELECT * FROM t1;
85
+ --enable_warnings
81
86
SHOW CREATE TABLE t1;
82
87
INSERT INTO t1 VALUES ('2001-02-03 04:05:06');
83
88
--sorted_result
You can’t perform that action at this time.
0 commit comments