|
|||||||||||
|
bk commit into 6.0-falcon tree (hakank:1.2581)
From: Hakan Kuecuekyilmaz <hakan(at)mysql.com>
Date: Fri Aug 31 2007 - 14:27:14 EDT
ChangeSet@1.2581, 2007-08-31 20:27:04+02:00, hakank@lu0011.wdf.sap.corp +10 -0 After merge fixes. mysql-test/r/backup.result@1.26, 2007-08-31 20:26:59+02:00, hakank@lu0011.wdf.sap.corp +13 -13 After merge fixes. mysql-test/r/ctype_latin1.result@1.12, 2007-08-31 20:26:59+02:00, hakank@lu0011.wdf.sap.corp +21 -21 After merge fixes. mysql-test/r/show_check.result@1.115, 2007-08-31 20:27:00+02:00, hakank@lu0011.wdf.sap.corp +8 -8 After merge fixes. mysql-test/r/sp_trans.result@1.20, 2007-08-31 20:27:00+02:00, hakank@lu0011.wdf.sap.corp +1 -1 After merge fixes. mysql-test/r/type_timestamp.result@1.41, 2007-08-31 20:27:00+02:00, hakank@lu0011.wdf.sap.corp +7 -7 After merge fixes. mysql-test/r/warnings.result@1.62, 2007-08-31 20:27:00+02:00, hakank@lu0011.wdf.sap.corp +3 -3 After merge fixes. mysql-test/suite/rpl/r/rpl_sp.result@1.41, 2007-08-31 20:27:00+02:00, hakank@lu0011.wdf.sap.corp +1 -1 After merge fixes. mysql-test/t/disabled.def@1.344, 2007-08-31 20:27:00+02:00, hakank@lu0011.wdf.sap.corp +2 -27 After merge fixes. mysql-test/t/falcon_bug_28158.test@1.5, 2007-08-31 20:27:00+02:00, hakank@lu0011.wdf.sap.corp +5 -5 After merge fixes. sql/sql_yacc.yy@1.578, 2007-08-31 20:27:00+02:00, hakank@lu0011.wdf.sap.corp +34 -14 After merge fixes.
diff -Nrup a/mysql-test/r/backup.result b/mysql-test/r/backup.result
Table Op Msg_type Msg_text test.t4 backup error Failed copying .frm file (errno: X) drop table t4; restore table t4 from '../tmp'; Table Op Msg_type Msg_text select count(*) from t4; count(*) @@ -29,18 +29,18 @@ create table t1(n int); insert into t1 values (23),(45),(67); backup table t1 to '../tmp'; Table Op Msg_type Msg_text drop table t1; restore table t1 from '../bogus'; Table Op Msg_type Msg_text t1 restore error Failed copying .frm file Warnings: select n from t1; n @@ -53,13 +53,13 @@ insert into t2 values (123),(145),(167); insert into t3 values (223),(245),(267); backup table t2,t3 to '../tmp'; Table Op Msg_type Msg_text drop table t1,t2,t3; restore table t1,t2,t3 from '../tmp'; Table Op Msg_type Msg_text @@ -81,14 +81,14 @@ k drop table t1,t2,t3,t4; restore table t1 from '../tmp'; Table Op Msg_type Msg_text rename table t1 to t5; lock tables t5 write; backup table t5 to '../tmp'; unlock tables; Table Op Msg_type Msg_text drop table t5; DROP TABLE IF EXISTS `t+1`; @@ -96,12 +96,12 @@ CREATE TABLE `t+1` (c1 INT); INSERT INTO `t+1` VALUES (1), (2), (3); BACKUP TABLE `t+1` TO '../tmp'; Table Op Msg_type Msg_text DROP TABLE `t+1`; RESTORE TABLE `t+1` FROM '../tmp'; Table Op Msg_type Msg_text SELECT * FROM `t+1`; c1 diff -Nrup a/mysql-test/r/ctype_latin1.result b/mysql-test/r/ctype_latin1.result --- a/mysql-test/r/ctype_latin1.result 2007-08-30 23:50:05 +02:00 +++ b/mysql-test/r/ctype_latin1.result 2007-08-31 20:26:59 +02:00 @@ -296,8 +296,8 @@ FD C3BD FD 1 FE C3BE FE 1 FF C3BF FF 1 DROP TABLE t1; -SELECT 1 as Â, 2 as Â, 3 as Â, 4 as Â, 5 as Â, 6 as Â, 7 as Â, 8 as Â; -        +SELECT 1 as �, 2 as �, 3 as �, 4 as �, 5 as �, 6 as �, 7 as �, 8 as �; +� � � � � � � � 1 2 3 4 5 6 7 8 select 'a' regexp 'A' collate latin1_general_ci; 'a' regexp 'A' collate latin1_general_ci @@ -364,47 +364,47 @@ select c1 as c2h from t1 where c1 like ' c2h ab_def drop table t1; -CREATE TABLE Âa (a int); -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Âa (a int)' at line 1 -SELECT 'Âa' as str; +CREATE TABLE �a (a int); +ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '�a (a int)' at line 1 +SELECT '�a' as str; str -Âa -set @str= _latin1 'ABC °§߲³µ~ äöüÃÃà áéÃóú ÃÃÃÃà @ abc'; +�a +set @str= _latin1 'ABC ���߲��~ ������ ����� ����� @ abc'; SELECT convert(@str collate latin1_bin using utf8); convert(@str collate latin1_bin using utf8) -ABC °§߲³µ~ äöüÃÃà áéÃóú ÃÃÃÃà @ abc +ABC ���߲��~ ������ ����� ����� @ abc SELECT convert(@str collate latin1_general_ci using utf8); convert(@str collate latin1_general_ci using utf8) -ABC °§߲³µ~ äöüÃÃà áéÃóú ÃÃÃÃà @ abc +ABC ���߲��~ ������ ����� ����� @ abc SELECT convert(@str collate latin1_german1_ci using utf8); convert(@str collate latin1_german1_ci using utf8) -ABC °§߲³µ~ äöüÃÃà áéÃóú ÃÃÃÃà @ abc +ABC ���߲��~ ������ ����� ����� @ abc SELECT convert(@str collate latin1_danish_ci using utf8); convert(@str collate latin1_danish_ci using utf8) -ABC °§߲³µ~ äöüÃÃà áéÃóú ÃÃÃÃà @ abc +ABC ���߲��~ ������ ����� ����� @ abc SELECT convert(@str collate latin1_spanish_ci using utf8); convert(@str collate latin1_spanish_ci using utf8) -ABC °§߲³µ~ äöüÃÃà áéÃóú ÃÃÃÃà @ abc +ABC ���߲��~ ������ ����� ����� @ abc SELECT convert(@str collate latin1_german2_ci using utf8); convert(@str collate latin1_german2_ci using utf8) -ABC °§߲³µ~ äöüÃÃà áéÃóú ÃÃÃÃà @ abc +ABC ���߲��~ ������ ����� ����� @ abc SELECT convert(@str collate latin1_swedish_ci using utf8); convert(@str collate latin1_swedish_ci using utf8) -ABC °§߲³µ~ äöüÃÃà áéÃóú ÃÃÃÃà @ abc +ABC ���߲��~ ������ ����� ����� @ abc SET NAMES latin1; -DROP TABLE IF EXISTS `abcÿdef`; -CREATE TABLE `abcÿdef` (i int); -INSERT INTO `abcÿdef` VALUES (1); -INSERT INTO abcÿdef VALUES (2); -SELECT * FROM `abcÿdef`; +DROP TABLE IF EXISTS `abc�def`; +CREATE TABLE `abc�def` (i int); +INSERT INTO `abc�def` VALUES (1); +INSERT INTO abc�def VALUES (2); +SELECT * FROM `abc�def`; i 1 2 -SELECT * FROM abcÿdef; +SELECT * FROM abc�def; i 1 2 -DROP TABLE `abcÿdef`; +DROP TABLE `abc�def`; select hex(cast(_ascii 0x7f as char(1) character set latin1)); hex(cast(_ascii 0x7f as char(1) character set latin1)) 7F diff -Nrup a/mysql-test/r/show_check.result b/mysql-test/r/show_check.result --- a/mysql-test/r/show_check.result 2007-08-30 23:50:05 +02:00 +++ b/mysql-test/r/show_check.result 2007-08-31 20:27:00 +02:00 @@ -1204,7 +1204,7 @@ set names koi8r; DROP DATABASE IF EXISTS mysqltest1; CREATE DATABASE mysqltest1; use mysqltest1; -CREATE TABLE t1(ÃÃÃÃÃÃÃ1 INT); +CREATE TABLE t1(ËÏÌÏÎËÁ1 INT); ---> Dumping mysqltest1 to show_check.mysqltest1.sql @@ -1216,7 +1216,7 @@ DROP DATABASE mysqltest1; SHOW CREATE TABLE mysqltest1.t1; Table Create Table t1 CREATE TABLE `t1` ( - `ÃÃÃÃÃÃÃ1` int(11) DEFAULT NULL + `ËÏÌÏÎËÁ1` int(11) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1 DROP DATABASE mysqltest1; use test; @@ -1273,7 +1273,7 @@ drop database mysqltest; show full plugin; show warnings; Level Code Messageshow plugin; show plugins; create database `mysqlttest\1`; @@ -1393,14 +1393,14 @@ DROP PROCEDURE IF EXISTS p1; DROP FUNCTION IF EXISTS f1; DROP TABLE IF EXISTS t1; DROP EVENT IF EXISTS ev1; -CREATE VIEW v1 AS SELECT 'Ãà ÃÃ' AS test; -CREATE PROCEDURE p1() SELECT 'Ãà ÃÃ' AS test; -CREATE FUNCTION f1() RETURNS CHAR(10) RETURN 'Ãà ÃÃ'; +CREATE VIEW v1 AS SELECT 'ÔÅÓÔ' AS test; +CREATE PROCEDURE p1() SELECT 'ÔÅÓÔ' AS test; +CREATE FUNCTION f1() RETURNS CHAR(10) RETURN 'ÔÅÓÔ';CREATE TABLE t1(c1 CHAR(10)); CREATE TRIGGER t1_bi BEFORE INSERT ON t1 FOR EACH ROW -SET NEW.c1 = 'Ãà ÃÃ'; -CREATE EVENT ev1 ON SCHEDULE AT '2030-01-01 00:00:00' DO SELECT 'Ãà ÃÃ' AS test; +SET NEW.c1 = 'ÔÅÓÔ'; +CREATE EVENT ev1 ON SCHEDULE AT '2030-01-01 00:00:00' DO SELECT 'ÔÅÓÔ' AS test; set names utf8; SHOW CREATE VIEW v1; View Create View character_set_client collation_connection diff -Nrup a/mysql-test/r/sp_trans.result b/mysql-test/r/sp_trans.result --- a/mysql-test/r/sp_trans.result 2007-08-30 23:50:05 +02:00 +++ b/mysql-test/r/sp_trans.result 2007-08-31 20:27:00 +02:00 @@ -535,7 +535,7 @@ use db_bug7787| CREATE PROCEDURE p1() SHOW INNODB STATUS; | Warnings: -Warning 1287 The syntax 'SHOW INNODB STATUS' is deprecated and will be removed in MySQL 5.2. Please use 'SHOW ENGINE INNODB STATUS' instead +Warning 1287 The syntax 'SHOW INNODB STATUS' is deprecated and will be removed in MySQL 6.1. Please use 'SHOW ENGINE INNODB STATUS' instead GRANT EXECUTE ON PROCEDURE p1 TO user_bug7787@localhost| DROP DATABASE db_bug7787| drop user user_bug7787@localhost| diff -Nrup a/mysql-test/r/type_timestamp.result b/mysql-test/r/type_timestamp.result --- a/mysql-test/r/type_timestamp.result 2007-08-30 23:50:05 +02:00 +++ b/mysql-test/r/type_timestamp.result 2007-08-31 20:27:00 +02:00 @@ -101,13 +101,13 @@ create table t1 (t2 timestamp(2), t4 tim t8 timestamp(8), t10 timestamp(10), t12 timestamp(12), t14 timestamp(14)); Warnings: -Warning 1287 The syntax 'TIMESTAMP(2)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead -Warning 1287 The syntax 'TIMESTAMP(4)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead -Warning 1287 The syntax 'TIMESTAMP(6)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead -Warning 1287 The syntax 'TIMESTAMP(8)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead -Warning 1287 The syntax 'TIMESTAMP(10)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead -Warning 1287 The syntax 'TIMESTAMP(12)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead -Warning 1287 The syntax 'TIMESTAMP(14)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead +Warning 1287 The syntax 'TIMESTAMP(2)' is deprecated and will be removed in MySQL 6.1. Please use 'TIMESTAMP' instead +Warning 1287 The syntax 'TIMESTAMP(4)' is deprecated and will be removed in MySQL 6.1. Please use 'TIMESTAMP' instead +Warning 1287 The syntax 'TIMESTAMP(6)' is deprecated and will be removed in MySQL 6.1. Please use 'TIMESTAMP' instead +Warning 1287 The syntax 'TIMESTAMP(8)' is deprecated and will be removed in MySQL 6.1. Please use 'TIMESTAMP' instead +Warning 1287 The syntax 'TIMESTAMP(10)' is deprecated and will be removed in MySQL 6.1. Please use 'TIMESTAMP' instead +Warning 1287 The syntax 'TIMESTAMP(12)' is deprecated and will be removed in MySQL 6.1. Please use 'TIMESTAMP' instead +Warning 1287 The syntax 'TIMESTAMP(14)' is deprecated and will be removed in MySQL 6.1. Please use 'TIMESTAMP' insteadinsert t1 values (0,0,0,0,0,0,0), ("1997-12-31 23:47:59", "1997-12-31 23:47:59", "1997-12-31 23:47:59", "1997-12-31 23:47:59", "1997-12-31 23:47:59", "1997-12-31 23:47:59", diff -Nrup a/mysql-test/r/warnings.result b/mysql-test/r/warnings.result --- a/mysql-test/r/warnings.result 2007-08-30 23:50:05 +02:00 +++ b/mysql-test/r/warnings.result 2007-08-31 20:27:00 +02:00 @@ -32,7 +32,7 @@ insert into t1 values (1); insert into t1 values ("hej"); Warnings: Warning 1366 Incorrect integer value: 'hej' for column 'a' at row 1 -insert into t1 values ("hej"),("dÃ¥"); +insert into t1 values ("hej"),("då"); Warnings: Warning 1366 Incorrect integer value: 'hej' for column 'a' at row 1 Warning 1366 Incorrect integer value: 'd?' for column 'a' at row 2@@ -40,7 +40,7 @@ set SQL_WARNINGS=1; insert into t1 values ("hej"); Warnings: Warning 1366 Incorrect integer value: 'hej' for column 'a' at row 1 -insert into t1 values ("hej"),("dÃ¥"); +insert into t1 values ("hej"),("då"); Warnings: Warning 1366 Incorrect integer value: 'hej' for column 'a' at row 1 Warning 1366 Incorrect integer value: 'd?' for column 'a' at row 2 @@ -168,7 +168,7 @@ max_error_count 10 drop table t1; set table_type=MYISAM; Warnings: -Warning 1287 The syntax 'table_type' is deprecated and will be removed in MySQL 5.2. Please use 'storage_engine' instead +Warning 1287 The syntax 'table_type' is deprecated and will be removed in MySQL 6.1. Please use 'storage_engine' instead create table t1 (a int); insert into t1 (a) values (1), (2), (3), (4), (5), (6), (7), (8), (9), (10); update t1 set a='abc'; diff -Nrup a/mysql-test/suite/rpl/r/rpl_sp.result b/mysql-test/suite/rpl/r/rpl_sp.result --- a/mysql-test/suite/rpl/r/rpl_sp.result 2007-08-30 23:50:05 +02:00 +++ b/mysql-test/suite/rpl/r/rpl_sp.result 2007-08-31 20:27:00 +02:00 @@ -193,7 +193,7 @@ end| ERROR HY000: You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable) set global log_bin_trust_routine_creators=1; Warnings: -Warning 1287 The syntax 'log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use 'log_bin_trust_function_creators' instead +Warning 1287 The syntax 'log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 6.1. Please use 'log_bin_trust_function_creators' instead set global log_bin_trust_function_creators=0; set global log_bin_trust_function_creators=1; set global log_bin_trust_function_creators=1; diff -Nrup a/mysql-test/t/disabled.def b/mysql-test/t/disabled.def+federated_transactions : Bug#29523 Transactions do not work -partition_03ndb : BUG#16385 2006-03-24 mikael Partitions: crash when updating a range partitioned NDB table handler_falcon : Bug#28096 2007-01-23 hakank Currently fails falcon_deadlock : Bug#28097 2007-04-25 hakank Currently hangs falcon_bug_22144 : Bug#22144 2006-08-24 hakank Get pushbuild green diff -Nrup a/mysql-test/t/falcon_bug_28158.test b/mysql-test/t/falcon_bug_28158.test@@ -34,14 +34,14 @@ INSERT INTO t3 VALUES (2, 2); UPDATE t1 SET a = 1; UPDATE t1 SET a = 1 ORDER BY a; ---error 1582 ---error 1582 # ----------------------------------------------------- # @@ -76,7 +76,7 @@ INSERT INTO t2 VALUES (2, 2); # ----------------------------------------------------- # # --- Test --- # # ----------------------------------------------------- # ---error ER_DUP_ENTRY_WITH_KEY_NAME +--error ER_DUP_ENTRY UPDATE t1, t2 SET t1.a = 1, t2.a = 1; # ----------------------------------------------------- # diff -Nrup a/sql/sql_yacc.yy b/sql/sql_yacc.yy @@ -7192,6 +7194,8 @@ function_call_conflict:
$$= new (thd->mem_root) Item_func_week($3, i1);
}
+ | WEEK_SYM '(' expr ',' expr ')'
+ { $$= new (YYTHD->mem_root) Item_func_week($3,$5); }
| WEIGHT_STRING_SYM '(' expr opt_ws_levels ')'
{ $$= new (YYTHD->mem_root) Item_func_weight_string($3, 0, $4); }
| WEIGHT_STRING_SYM '(' expr AS CHAR_SYM ws_nweights opt_ws_levels ')'
@@ -9121,7 +9125,11 @@ show_param:
| opt_full PLUGIN_SYM
{
LEX *lex= Lex;
-- This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 09:02:03 EDT |
||||||||||
|
|||||||||||