summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/engines/funcs/r/an_calendar.result
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 18:00:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 18:00:34 +0000
commit3f619478f796eddbba6e39502fe941b285dd97b1 (patch)
treee2c7b5777f728320e5b5542b6213fd3591ba51e2 /mysql-test/suite/engines/funcs/r/an_calendar.result
parentInitial commit. (diff)
downloadmariadb-upstream.tar.xz
mariadb-upstream.zip
Adding upstream version 1:10.11.6.upstream/1%10.11.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mysql-test/suite/engines/funcs/r/an_calendar.result')
-rw-r--r--mysql-test/suite/engines/funcs/r/an_calendar.result49
1 files changed, 49 insertions, 0 deletions
diff --git a/mysql-test/suite/engines/funcs/r/an_calendar.result b/mysql-test/suite/engines/funcs/r/an_calendar.result
new file mode 100644
index 00000000..669b097b
--- /dev/null
+++ b/mysql-test/suite/engines/funcs/r/an_calendar.result
@@ -0,0 +1,49 @@
+DROP TABLE IF EXISTS t1;
+CREATE TABLE t1(c1 DATE NULL, c2 DATE NULL);
+SET TIMESTAMP=1171346973;
+INSERT INTO t1 VALUES(NOW(),NOW());
+Warnings:
+Note 1265 Data truncated for column 'c1' at row 1
+Note 1265 Data truncated for column 'c2' at row 1
+INSERT INTO t1 VALUES(NOW(),NOW());
+Warnings:
+Note 1265 Data truncated for column 'c1' at row 1
+Note 1265 Data truncated for column 'c2' at row 1
+ANALYZE TABLE t1;
+Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
+test.t1 analyze status OK
+DROP TABLE t1;
+CREATE TABLE t1(c1 TIME NULL, c2 TIME NULL);
+SET TIMESTAMP=1171346973;
+INSERT INTO t1 VALUES(NOW(),NOW());
+Warnings:
+Note 1265 Data truncated for column 'c1' at row 1
+Note 1265 Data truncated for column 'c2' at row 1
+INSERT INTO t1 VALUES(NOW(),NOW());
+Warnings:
+Note 1265 Data truncated for column 'c1' at row 1
+Note 1265 Data truncated for column 'c2' at row 1
+ANALYZE TABLE t1;
+Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
+test.t1 analyze status OK
+DROP TABLE t1;
+CREATE TABLE t1(c1 DATETIME NULL, c2 DATETIME NULL);
+SET TIMESTAMP=1171346973;
+INSERT INTO t1 VALUES(NOW(),NOW());
+INSERT INTO t1 VALUES(NOW(),NOW());
+ANALYZE TABLE t1;
+Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
+test.t1 analyze status OK
+DROP TABLE t1;
+CREATE TABLE t1(c1 TIMESTAMP NULL, c2 TIMESTAMP NULL);
+SET TIMESTAMP=1171346973;
+INSERT INTO t1 VALUES(NOW(),NOW());
+INSERT INTO t1 VALUES(NOW(),NOW());
+ANALYZE TABLE t1;
+Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
+test.t1 analyze status OK
+DROP TABLE t1;