Skip to content

Commit 1933cf9

Browse files
committed
Merge 5.5 into 10.0
2 parents 137812c + e890711 commit 1933cf9

28 files changed

+423
-371
lines changed

client/mysql.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3788,9 +3788,10 @@ print_table_data_html(MYSQL_RES *result)
37883788
MYSQL_FIELD *field;
37893789

37903790
mysql_field_seek(result,0);
3791-
(void) tee_fputs("<TABLE BORDER=1><TR>", PAGER);
3791+
(void) tee_fputs("<TABLE BORDER=1>", PAGER);
37923792
if (column_names)
37933793
{
3794+
(void) tee_fputs("<TR>", PAGER);
37943795
while((field = mysql_fetch_field(result)))
37953796
{
37963797
tee_fputs("<TH>", PAGER);

mysql-test/include/mix2.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ checksum table t1, t2, t3, t4, t5, t6, t7 extended;
11531153
drop table t1,t2,t3, t4, t5, t6;
11541154

11551155
#
1156-
# Test problem with refering to different fields in same table in UNION
1156+
# Test problem with referring to different fields in same table in UNION
11571157
# (Bug#2552: UNION returns NULL instead of expected value (innoDB only tables))
11581158
#
11591159
eval create table t1 (id int, name char(10) not null, name2 char(10) not null) engine=$engine_type;

mysql-test/r/ddl_i18n_koi8r.result

Lines changed: 38 additions & 38 deletions
Large diffs are not rendered by default.

mysql-test/r/ddl_i18n_utf8.result

Lines changed: 38 additions & 38 deletions
Large diffs are not rendered by default.

mysql-test/r/events_1.result

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ SECOND 10 SELECT 1
4949
SELECT execute_at IS NULL, starts IS NULL, ends IS NULL, comment FROM mysql.event WHERE db='events_test' AND name='event_starts_test';
5050
execute_at IS NULL starts IS NULL ends IS NULL comment
5151
1 0 1
52-
ALTER EVENT event_starts_test ON SCHEDULE AT '2020-02-02 20:00:02';
52+
ALTER EVENT event_starts_test ON SCHEDULE AT '1970-01-02 00:00:00' ON COMPLETION PRESERVE DISABLE;
5353
SELECT execute_at IS NULL, starts IS NULL, ends IS NULL, comment FROM mysql.event WHERE db='events_test' AND name='event_starts_test';
5454
execute_at IS NULL starts IS NULL ends IS NULL comment
5555
0 1 1
@@ -62,7 +62,7 @@ SELECT execute_at IS NULL, starts IS NULL, ends IS NULL, comment FROM mysql.even
6262
execute_at IS NULL starts IS NULL ends IS NULL comment
6363
0 1 1
6464
DROP EVENT event_starts_test;
65-
CREATE EVENT event_starts_test ON SCHEDULE EVERY 20 SECOND STARTS '2020-02-02 20:00:02' ENDS '2022-02-02 20:00:02' DO SELECT 2;
65+
CREATE EVENT event_starts_test ON SCHEDULE EVERY 20 SECOND STARTS '1970-01-02 00:00:00' ENDS '1970-01-03 00:00:00' ON COMPLETION PRESERVE DISABLE DO SELECT 2;
6666
SELECT execute_at IS NULL, starts IS NULL, ends IS NULL, comment FROM mysql.event WHERE db='events_test' AND name='event_starts_test';
6767
execute_at IS NULL starts IS NULL ends IS NULL comment
6868
1 0 0

mysql-test/r/mysql.result

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,3 +613,7 @@ count(*)
613613
0
614614
truncate table t1;
615615
drop table t1;
616+
#
617+
# MDEV-15538 '-N' Produce html output wrong
618+
#
619+
<TABLE BORDER=1><TR><TD>1</TD></TR></TABLE>

mysql-test/r/show_check.result

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ CREATE TABLE t1(c1 CHAR(10));
14241424
CREATE TRIGGER t1_bi BEFORE INSERT ON t1
14251425
FOR EACH ROW
14261426
SET NEW.c1 = '����';
1427-
CREATE EVENT ev1 ON SCHEDULE AT '2030-01-01 00:00:00' DO SELECT '����' AS test;
1427+
CREATE EVENT ev1 ON SCHEDULE AT '1970-01-02 00:00:00' ON COMPLETION PRESERVE DISABLE DO SELECT '����' AS test;
14281428
set names utf8;
14291429
SHOW CREATE VIEW v1;
14301430
View Create View character_set_client collation_connection
@@ -1444,7 +1444,7 @@ FOR EACH ROW
14441444
SET NEW.c1 = 'тест' koi8r koi8r_general_ci latin1_swedish_ci
14451445
SHOW CREATE EVENT ev1;
14461446
Event sql_mode time_zone Create Event character_set_client collation_connection Database Collation
1447-
ev1 SYSTEM CREATE DEFINER=`root`@`localhost` EVENT `ev1` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO SELECT 'тест' AS test koi8r koi8r_general_ci latin1_swedish_ci
1447+
ev1 SYSTEM CREATE DEFINER=`root`@`localhost` EVENT `ev1` ON SCHEDULE AT '1970-01-02 00:00:00' ON COMPLETION PRESERVE DISABLE DO SELECT 'тест' AS test koi8r koi8r_general_ci latin1_swedish_ci
14481448
DROP VIEW v1;
14491449
DROP PROCEDURE p1;
14501450
DROP FUNCTION f1;

0 commit comments

Comments
 (0)