Skip to content

Commit 6f42c3c

Browse files
author
Nirbhay Choubey
committed
MDEV-7635: Fix for mroonga 32-bit test failures.
1 parent c513c4c commit 6f42c3c

20 files changed

+56
-56
lines changed

storage/mroonga/mysql-test/mroonga/storage/r/column_datetime_32bit_2038.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ diaries CREATE TABLE `diaries` (
1414
) ENGINE=Mroonga DEFAULT CHARSET=utf8
1515
INSERT INTO diaries (title, created_at)
1616
VALUES ('2038-01-18 03:14:07', '2038-01-18 03:14:07');
17-
INSERT INTO diaries (title, created_at)
17+
INSERT IGNORE INTO diaries (title, created_at)
1818
VALUES ('2038-01-20 03:14:08', '2038-01-20 03:14:08');
1919
Warnings:
2020
Warning 1265 Data truncated for column 'created_at' at row 1

storage/mroonga/mysql-test/mroonga/storage/r/column_datetime_32bit_before_unix_epoch.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ diaries CREATE TABLE `diaries` (
1212
`created_at` datetime DEFAULT NULL,
1313
PRIMARY KEY (`id`)
1414
) ENGINE=Mroonga DEFAULT CHARSET=utf8
15-
INSERT INTO diaries (title, created_at)
15+
INSERT IGNORE INTO diaries (title, created_at)
1616
VALUES ('1000-01-01 00:00:00', '1000-01-01 00:00:00');
1717
Warnings:
1818
Warning 1265 Data truncated for column 'created_at' at row 1

storage/mroonga/mysql-test/mroonga/storage/r/column_datetime_32bit_max.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ diaries CREATE TABLE `diaries` (
1212
`created_at` datetime DEFAULT NULL,
1313
PRIMARY KEY (`id`)
1414
) ENGINE=Mroonga DEFAULT CHARSET=utf8
15-
INSERT INTO diaries (title, created_at)
15+
INSERT IGNORE INTO diaries (title, created_at)
1616
VALUES ('9999-12-31 23:59:59', '9999-12-31 23:59:59');
1717
Warnings:
1818
Warning 1265 Data truncated for column 'created_at' at row 1

storage/mroonga/mysql-test/mroonga/storage/r/column_datetime_32bit_out_of_range.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ diaries CREATE TABLE `diaries` (
1212
`created_at` datetime DEFAULT NULL,
1313
PRIMARY KEY (`id`)
1414
) ENGINE=Mroonga DEFAULT CHARSET=utf8
15-
INSERT INTO diaries (title, created_at)
15+
INSERT IGNORE INTO diaries (title, created_at)
1616
VALUES ('2012', '2012');
1717
Warnings:
1818
Warning 1265 Data truncated for column 'created_at' at row 1

storage/mroonga/mysql-test/mroonga/storage/r/index_multiple_column_unique_date_32bit_equal.result

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ start DATE,
55
end DATE,
66
UNIQUE KEY range_key(start, end)
77
);
8-
INSERT INTO ranges VALUES (1, "1000-01-01", "2012-10-05");
8+
INSERT IGNORE INTO ranges VALUES (1, "1000-01-01", "2012-10-05");
99
Warnings:
1010
Warning 1265 Data truncated for column 'start' at row 1
11-
INSERT INTO ranges VALUES (2, "1000-01-01", "9999-12-31");
11+
INSERT IGNORE INTO ranges VALUES (2, "1000-01-01", "9999-12-31");
1212
Warnings:
1313
Warning 1265 Data truncated for column 'start' at row 1
1414
Warning 1265 Data truncated for column 'end' at row 1
15-
INSERT INTO ranges VALUES (3, "2012-10-25", "9999-12-31");
15+
INSERT IGNORE INTO ranges VALUES (3, "2012-10-25", "9999-12-31");
1616
Warnings:
1717
Warning 1265 Data truncated for column 'end' at row 1
18-
INSERT INTO ranges VALUES (4, "9999-12-31", "1000-01-01");
18+
INSERT IGNORE INTO ranges VALUES (4, "9999-12-31", "1000-01-01");
1919
Warnings:
2020
Warning 1265 Data truncated for column 'start' at row 1
2121
Warning 1265 Data truncated for column 'end' at row 1

storage/mroonga/mysql-test/mroonga/storage/r/index_multiple_column_unique_date_order_32bit_asc.result

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ start DATE,
55
end DATE,
66
UNIQUE KEY range_key(start, end)
77
);
8-
INSERT INTO ranges VALUES (1, "2012-10-25", "9999-12-31");
8+
INSERT IGNORE INTO ranges VALUES (1, "2012-10-25", "9999-12-31");
99
Warnings:
1010
Warning 1265 Data truncated for column 'end' at row 1
11-
INSERT INTO ranges VALUES (2, "1000-01-01", "2012-10-05");
11+
INSERT IGNORE INTO ranges VALUES (2, "1000-01-01", "2012-10-05");
1212
Warnings:
1313
Warning 1265 Data truncated for column 'start' at row 1
14-
INSERT INTO ranges VALUES (3, "9999-12-31", "1000-01-01");
14+
INSERT IGNORE INTO ranges VALUES (3, "9999-12-31", "1000-01-01");
1515
Warnings:
1616
Warning 1265 Data truncated for column 'start' at row 1
1717
Warning 1265 Data truncated for column 'end' at row 1
18-
INSERT INTO ranges VALUES (4, "1000-01-01", "9999-12-31");
18+
INSERT IGNORE INTO ranges VALUES (4, "1000-01-01", "9999-12-31");
1919
Warnings:
2020
Warning 1265 Data truncated for column 'start' at row 1
2121
Warning 1265 Data truncated for column 'end' at row 1

storage/mroonga/mysql-test/mroonga/storage/r/index_multiple_column_unique_date_order_32bit_desc.result

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ start DATE,
55
end DATE,
66
UNIQUE KEY range_key(start, end)
77
);
8-
INSERT INTO ranges VALUES (1, "2012-10-25", "9999-12-31");
8+
INSERT IGNORE INTO ranges VALUES (1, "2012-10-25", "9999-12-31");
99
Warnings:
1010
Warning 1265 Data truncated for column 'end' at row 1
11-
INSERT INTO ranges VALUES (2, "1000-01-01", "2012-10-05");
11+
INSERT IGNORE INTO ranges VALUES (2, "1000-01-01", "2012-10-05");
1212
Warnings:
1313
Warning 1265 Data truncated for column 'start' at row 1
14-
INSERT INTO ranges VALUES (3, "9999-12-31", "1000-01-01");
14+
INSERT IGNORE INTO ranges VALUES (3, "9999-12-31", "1000-01-01");
1515
Warnings:
1616
Warning 1265 Data truncated for column 'start' at row 1
1717
Warning 1265 Data truncated for column 'end' at row 1
18-
INSERT INTO ranges VALUES (4, "1000-01-01", "9999-12-31");
18+
INSERT IGNORE INTO ranges VALUES (4, "1000-01-01", "9999-12-31");
1919
Warnings:
2020
Warning 1265 Data truncated for column 'start' at row 1
2121
Warning 1265 Data truncated for column 'end' at row 1

storage/mroonga/mysql-test/mroonga/storage/r/index_multiple_column_unique_year_32bit_equal.result

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ start YEAR,
55
end YEAR,
66
UNIQUE KEY range_key(start, end)
77
);
8-
INSERT INTO ranges VALUES (1, 1901, 2012);
8+
INSERT IGNORE INTO ranges VALUES (1, 1901, 2012);
99
Warnings:
1010
Warning 1265 Data truncated for column 'start' at row 1
11-
INSERT INTO ranges VALUES (2, 1901, 2155);
11+
INSERT IGNORE INTO ranges VALUES (2, 1901, 2155);
1212
Warnings:
1313
Warning 1265 Data truncated for column 'start' at row 1
1414
Warning 1265 Data truncated for column 'end' at row 1
15-
INSERT INTO ranges VALUES (3, 2012, 2155);
15+
INSERT IGNORE INTO ranges VALUES (3, 2012, 2155);
1616
Warnings:
1717
Warning 1265 Data truncated for column 'end' at row 1
18-
INSERT INTO ranges VALUES (4, 2155, 1901);
18+
INSERT IGNORE INTO ranges VALUES (4, 2155, 1901);
1919
Warnings:
2020
Warning 1265 Data truncated for column 'start' at row 1
2121
Warning 1265 Data truncated for column 'end' at row 1

storage/mroonga/mysql-test/mroonga/storage/r/index_multiple_column_unique_year_order_32bit_asc.result

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ start YEAR,
55
end YEAR,
66
UNIQUE KEY range_key(start, end)
77
);
8-
INSERT INTO ranges VALUES (1, 2012, 2155);
8+
INSERT IGNORE INTO ranges VALUES (1, 2012, 2155);
99
Warnings:
1010
Warning 1265 Data truncated for column 'end' at row 1
11-
INSERT INTO ranges VALUES (2, 1901, 2012);
11+
INSERT IGNORE INTO ranges VALUES (2, 1901, 2012);
1212
Warnings:
1313
Warning 1265 Data truncated for column 'start' at row 1
14-
INSERT INTO ranges VALUES (3, 2155, 1901);
14+
INSERT IGNORE INTO ranges VALUES (3, 2155, 1901);
1515
Warnings:
1616
Warning 1265 Data truncated for column 'start' at row 1
1717
Warning 1265 Data truncated for column 'end' at row 1
18-
INSERT INTO ranges VALUES (4, 1901, 2155);
18+
INSERT IGNORE INTO ranges VALUES (4, 1901, 2155);
1919
Warnings:
2020
Warning 1265 Data truncated for column 'start' at row 1
2121
Warning 1265 Data truncated for column 'end' at row 1

storage/mroonga/mysql-test/mroonga/storage/r/index_multiple_column_unique_year_order_32bit_desc.result

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ start YEAR,
55
end YEAR,
66
UNIQUE KEY range_key(start, end)
77
);
8-
INSERT INTO ranges VALUES (1, 2012, 2155);
8+
INSERT IGNORE INTO ranges VALUES (1, 2012, 2155);
99
Warnings:
1010
Warning 1265 Data truncated for column 'end' at row 1
11-
INSERT INTO ranges VALUES (2, 1901, 2012);
11+
INSERT IGNORE INTO ranges VALUES (2, 1901, 2012);
1212
Warnings:
1313
Warning 1265 Data truncated for column 'start' at row 1
14-
INSERT INTO ranges VALUES (3, 2155, 1901);
14+
INSERT IGNORE INTO ranges VALUES (3, 2155, 1901);
1515
Warnings:
1616
Warning 1265 Data truncated for column 'start' at row 1
1717
Warning 1265 Data truncated for column 'end' at row 1
18-
INSERT INTO ranges VALUES (4, 1901, 2155);
18+
INSERT IGNORE INTO ranges VALUES (4, 1901, 2155);
1919
Warnings:
2020
Warning 1265 Data truncated for column 'start' at row 1
2121
Warning 1265 Data truncated for column 'end' at row 1

0 commit comments

Comments
 (0)