Bug#41077: Warning contains wrong future version
Substitute all references of MySQL version "5.2" to "6.0" in deprecation warning messages.Deprecated constructs are being removed in the 6.0 tree.
This commit is contained in:
parent
b2a8faebea
commit
d3a10ec6ef
@ -4,23 +4,23 @@ create table t4(n int);
|
|||||||
backup table t4 to '../../bogus';
|
backup table t4 to '../../bogus';
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t4 backup error Failed copying .frm file (errno: X)
|
test.t4 backup error Failed copying .frm file (errno: X)
|
||||||
test.t4 backup Warning The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead
|
test.t4 backup Warning The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 6.0. Please use MySQL Administrator (mysqldump, mysql) instead
|
||||||
test.t4 backup Error Can't create/write to file 'MYSQLTEST_VARDIR/bogus/t4.frm' (Errcode: X)
|
test.t4 backup Error Can't create/write to file 'MYSQLTEST_VARDIR/bogus/t4.frm' (Errcode: X)
|
||||||
test.t4 backup status Operation failed
|
test.t4 backup status Operation failed
|
||||||
backup table t4 to '../../tmp';
|
backup table t4 to '../../tmp';
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t4 backup Warning The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead
|
test.t4 backup Warning The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 6.0. Please use MySQL Administrator (mysqldump, mysql) instead
|
||||||
test.t4 backup status OK
|
test.t4 backup status OK
|
||||||
backup table t4 to '../../tmp';
|
backup table t4 to '../../tmp';
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t4 backup error Failed copying .frm file (errno: X)
|
test.t4 backup error Failed copying .frm file (errno: X)
|
||||||
test.t4 backup Warning The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead
|
test.t4 backup Warning The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 6.0. Please use MySQL Administrator (mysqldump, mysql) instead
|
||||||
test.t4 backup Error Can't create/write to file 'MYSQLTEST_VARDIR/tmp/t4.frm' (Errcode: X)
|
test.t4 backup Error Can't create/write to file 'MYSQLTEST_VARDIR/tmp/t4.frm' (Errcode: X)
|
||||||
test.t4 backup status Operation failed
|
test.t4 backup status Operation failed
|
||||||
drop table t4;
|
drop table t4;
|
||||||
restore table t4 from '../../tmp';
|
restore table t4 from '../../tmp';
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t4 restore Warning The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead
|
test.t4 restore Warning The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 6.0. Please use MySQL Administrator (mysqldump, mysql) instead
|
||||||
test.t4 restore status OK
|
test.t4 restore status OK
|
||||||
select count(*) from t4;
|
select count(*) from t4;
|
||||||
count(*)
|
count(*)
|
||||||
@ -29,18 +29,18 @@ create table t1(n int);
|
|||||||
insert into t1 values (23),(45),(67);
|
insert into t1 values (23),(45),(67);
|
||||||
backup table t1 to '../../tmp';
|
backup table t1 to '../../tmp';
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 backup Warning The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead
|
test.t1 backup Warning The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 6.0. Please use MySQL Administrator (mysqldump, mysql) instead
|
||||||
test.t1 backup status OK
|
test.t1 backup status OK
|
||||||
drop table t1;
|
drop table t1;
|
||||||
restore table t1 from '../../bogus';
|
restore table t1 from '../../bogus';
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
t1 restore error Failed copying .frm file
|
t1 restore error Failed copying .frm file
|
||||||
Warnings:
|
Warnings:
|
||||||
Warning 1287 The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead
|
Warning 1287 The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 6.0. Please use MySQL Administrator (mysqldump, mysql) instead
|
||||||
Error 29 File 'MYSQLTEST_VARDIR/bogus/t1.frm' not found (Errcode: X)
|
Error 29 File 'MYSQLTEST_VARDIR/bogus/t1.frm' not found (Errcode: X)
|
||||||
restore table t1 from '../../tmp';
|
restore table t1 from '../../tmp';
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 restore Warning The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead
|
test.t1 restore Warning The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 6.0. Please use MySQL Administrator (mysqldump, mysql) instead
|
||||||
test.t1 restore status OK
|
test.t1 restore status OK
|
||||||
select n from t1;
|
select n from t1;
|
||||||
n
|
n
|
||||||
@ -53,13 +53,13 @@ insert into t2 values (123),(145),(167);
|
|||||||
insert into t3 values (223),(245),(267);
|
insert into t3 values (223),(245),(267);
|
||||||
backup table t2,t3 to '../../tmp';
|
backup table t2,t3 to '../../tmp';
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t2 backup Warning The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead
|
test.t2 backup Warning The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 6.0. Please use MySQL Administrator (mysqldump, mysql) instead
|
||||||
test.t2 backup status OK
|
test.t2 backup status OK
|
||||||
test.t3 backup status OK
|
test.t3 backup status OK
|
||||||
drop table t1,t2,t3;
|
drop table t1,t2,t3;
|
||||||
restore table t1,t2,t3 from '../../tmp';
|
restore table t1,t2,t3 from '../../tmp';
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 restore Warning The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead
|
test.t1 restore Warning The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 6.0. Please use MySQL Administrator (mysqldump, mysql) instead
|
||||||
test.t1 restore status OK
|
test.t1 restore status OK
|
||||||
test.t2 restore status OK
|
test.t2 restore status OK
|
||||||
test.t3 restore status OK
|
test.t3 restore status OK
|
||||||
@ -81,14 +81,14 @@ k
|
|||||||
drop table t1,t2,t3,t4;
|
drop table t1,t2,t3,t4;
|
||||||
restore table t1 from '../../tmp';
|
restore table t1 from '../../tmp';
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 restore Warning The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead
|
test.t1 restore Warning The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 6.0. Please use MySQL Administrator (mysqldump, mysql) instead
|
||||||
test.t1 restore status OK
|
test.t1 restore status OK
|
||||||
rename table t1 to t5;
|
rename table t1 to t5;
|
||||||
lock tables t5 write;
|
lock tables t5 write;
|
||||||
backup table t5 to '../../tmp';
|
backup table t5 to '../../tmp';
|
||||||
unlock tables;
|
unlock tables;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t5 backup Warning The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead
|
test.t5 backup Warning The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 6.0. Please use MySQL Administrator (mysqldump, mysql) instead
|
||||||
test.t5 backup status OK
|
test.t5 backup status OK
|
||||||
drop table t5;
|
drop table t5;
|
||||||
DROP TABLE IF EXISTS `t+1`;
|
DROP TABLE IF EXISTS `t+1`;
|
||||||
@ -96,12 +96,12 @@ CREATE TABLE `t+1` (c1 INT);
|
|||||||
INSERT INTO `t+1` VALUES (1), (2), (3);
|
INSERT INTO `t+1` VALUES (1), (2), (3);
|
||||||
BACKUP TABLE `t+1` TO '../../tmp';
|
BACKUP TABLE `t+1` TO '../../tmp';
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t+1 backup Warning The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead
|
test.t+1 backup Warning The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 6.0. Please use MySQL Administrator (mysqldump, mysql) instead
|
||||||
test.t+1 backup status OK
|
test.t+1 backup status OK
|
||||||
DROP TABLE `t+1`;
|
DROP TABLE `t+1`;
|
||||||
RESTORE TABLE `t+1` FROM '../../tmp';
|
RESTORE TABLE `t+1` FROM '../../tmp';
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t+1 restore Warning The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead
|
test.t+1 restore Warning The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 6.0. Please use MySQL Administrator (mysqldump, mysql) instead
|
||||||
test.t+1 restore status OK
|
test.t+1 restore status OK
|
||||||
SELECT * FROM `t+1`;
|
SELECT * FROM `t+1`;
|
||||||
c1
|
c1
|
||||||
|
@ -1295,7 +1295,7 @@ drop database mysqltest;
|
|||||||
show full plugin;
|
show full plugin;
|
||||||
show warnings;
|
show warnings;
|
||||||
Level Code Message
|
Level Code Message
|
||||||
Warning 1287 The syntax 'SHOW PLUGIN' is deprecated and will be removed in MySQL 5.2. Please use 'SHOW PLUGINS' instead
|
Warning 1287 The syntax 'SHOW PLUGIN' is deprecated and will be removed in MySQL 6.0. Please use 'SHOW PLUGINS' instead
|
||||||
show plugin;
|
show plugin;
|
||||||
show plugins;
|
show plugins;
|
||||||
create database `mysqlttest\1`;
|
create database `mysqlttest\1`;
|
||||||
|
@ -1643,7 +1643,7 @@ create table t1 (a int) type=MyISAM;
|
|||||||
drop table t1;
|
drop table t1;
|
||||||
end|
|
end|
|
||||||
Warnings:
|
Warnings:
|
||||||
Warning 1287 The syntax 'TYPE=storage_engine' is deprecated and will be removed in MySQL 5.2. Please use 'ENGINE=storage_engine' instead
|
Warning 1287 The syntax 'TYPE=storage_engine' is deprecated and will be removed in MySQL 6.0. Please use 'ENGINE=storage_engine' instead
|
||||||
call p1();
|
call p1();
|
||||||
call p1();
|
call p1();
|
||||||
drop procedure p1;
|
drop procedure p1;
|
||||||
|
@ -4350,10 +4350,10 @@ call bug13012()|
|
|||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 repair status OK
|
test.t1 repair status OK
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 backup Warning The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead
|
test.t1 backup Warning The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 6.0. Please use MySQL Administrator (mysqldump, mysql) instead
|
||||||
test.t1 backup status OK
|
test.t1 backup status OK
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 restore Warning The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead
|
test.t1 restore Warning The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 6.0. Please use MySQL Administrator (mysqldump, mysql) instead
|
||||||
test.t1 restore status OK
|
test.t1 restore status OK
|
||||||
drop procedure bug13012|
|
drop procedure bug13012|
|
||||||
create view v1 as select * from t1|
|
create view v1 as select * from t1|
|
||||||
|
@ -535,7 +535,7 @@ use db_bug7787|
|
|||||||
CREATE PROCEDURE p1()
|
CREATE PROCEDURE p1()
|
||||||
SHOW INNODB STATUS; |
|
SHOW INNODB STATUS; |
|
||||||
Warnings:
|
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.0. Please use 'SHOW ENGINE INNODB STATUS' instead
|
||||||
GRANT EXECUTE ON PROCEDURE p1 TO user_bug7787@localhost|
|
GRANT EXECUTE ON PROCEDURE p1 TO user_bug7787@localhost|
|
||||||
DROP DATABASE db_bug7787|
|
DROP DATABASE db_bug7787|
|
||||||
drop user user_bug7787@localhost|
|
drop user user_bug7787@localhost|
|
||||||
|
@ -891,11 +891,11 @@ CREATE TABLE b15776 (a year(-2));
|
|||||||
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 '-2))' at line 1
|
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 '-2))' at line 1
|
||||||
CREATE TABLE b15776 (a timestamp(4294967294));
|
CREATE TABLE b15776 (a timestamp(4294967294));
|
||||||
Warnings:
|
Warnings:
|
||||||
Warning 1287 The syntax 'TIMESTAMP(4294967294)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead
|
Warning 1287 The syntax 'TIMESTAMP(4294967294)' is deprecated and will be removed in MySQL 6.0. Please use 'TIMESTAMP' instead
|
||||||
DROP TABLE b15776;
|
DROP TABLE b15776;
|
||||||
CREATE TABLE b15776 (a timestamp(4294967295));
|
CREATE TABLE b15776 (a timestamp(4294967295));
|
||||||
Warnings:
|
Warnings:
|
||||||
Warning 1287 The syntax 'TIMESTAMP(4294967295)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead
|
Warning 1287 The syntax 'TIMESTAMP(4294967295)' is deprecated and will be removed in MySQL 6.0. Please use 'TIMESTAMP' instead
|
||||||
DROP TABLE b15776;
|
DROP TABLE b15776;
|
||||||
CREATE TABLE b15776 (a timestamp(4294967296));
|
CREATE TABLE b15776 (a timestamp(4294967296));
|
||||||
ERROR 42000: Display width out of range for column 'a' (max = 4294967295)
|
ERROR 42000: Display width out of range for column 'a' (max = 4294967295)
|
||||||
|
@ -101,13 +101,13 @@ create table t1 (t2 timestamp(2), t4 timestamp(4), t6 timestamp(6),
|
|||||||
t8 timestamp(8), t10 timestamp(10), t12 timestamp(12),
|
t8 timestamp(8), t10 timestamp(10), t12 timestamp(12),
|
||||||
t14 timestamp(14));
|
t14 timestamp(14));
|
||||||
Warnings:
|
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(2)' is deprecated and will be removed in MySQL 6.0. 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(4)' is deprecated and will be removed in MySQL 6.0. 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(6)' is deprecated and will be removed in MySQL 6.0. 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(8)' is deprecated and will be removed in MySQL 6.0. 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(10)' is deprecated and will be removed in MySQL 6.0. 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(12)' is deprecated and will be removed in MySQL 6.0. 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(14)' is deprecated and will be removed in MySQL 6.0. Please use 'TIMESTAMP' instead
|
||||||
insert t1 values (0,0,0,0,0,0,0),
|
insert 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",
|
||||||
"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",
|
||||||
|
@ -168,7 +168,7 @@ max_error_count 10
|
|||||||
drop table t1;
|
drop table t1;
|
||||||
set table_type=MYISAM;
|
set table_type=MYISAM;
|
||||||
Warnings:
|
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.0. Please use '@@storage_engine' instead
|
||||||
create table t1 (a int);
|
create table t1 (a int);
|
||||||
insert into t1 (a) values (1), (2), (3), (4), (5), (6), (7), (8), (9), (10);
|
insert into t1 (a) values (1), (2), (3), (4), (5), (6), (7), (8), (9), (10);
|
||||||
update t1 set a='abc';
|
update t1 set a='abc';
|
||||||
|
@ -195,7 +195,7 @@ set @old_log_bin_trust_routine_creators= @@global.log_bin_trust_routine_creators
|
|||||||
set @old_log_bin_trust_function_creators= @@global.log_bin_trust_function_creators;
|
set @old_log_bin_trust_function_creators= @@global.log_bin_trust_function_creators;
|
||||||
set global log_bin_trust_routine_creators=1;
|
set global log_bin_trust_routine_creators=1;
|
||||||
Warnings:
|
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.0. Please use '@@log_bin_trust_function_creators' instead
|
||||||
set global log_bin_trust_function_creators=0;
|
set global log_bin_trust_function_creators=0;
|
||||||
set global log_bin_trust_function_creators=1;
|
set global log_bin_trust_function_creators=1;
|
||||||
set @old_log_bin_trust_routine_creators= @@global.log_bin_trust_routine_creators;
|
set @old_log_bin_trust_routine_creators= @@global.log_bin_trust_routine_creators;
|
||||||
@ -559,11 +559,11 @@ end
|
|||||||
master-bin.000001 # Query 1 # use `mysqltest`; SELECT `mysqltest2`.`f1`()
|
master-bin.000001 # Query 1 # use `mysqltest`; SELECT `mysqltest2`.`f1`()
|
||||||
set @@global.log_bin_trust_routine_creators= @old_log_bin_trust_routine_creators;
|
set @@global.log_bin_trust_routine_creators= @old_log_bin_trust_routine_creators;
|
||||||
Warnings:
|
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.0. Please use '@@log_bin_trust_function_creators' instead
|
||||||
set @@global.log_bin_trust_function_creators= @old_log_bin_trust_function_creators;
|
set @@global.log_bin_trust_function_creators= @old_log_bin_trust_function_creators;
|
||||||
set @@global.log_bin_trust_routine_creators= @old_log_bin_trust_routine_creators;
|
set @@global.log_bin_trust_routine_creators= @old_log_bin_trust_routine_creators;
|
||||||
Warnings:
|
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.0. Please use '@@log_bin_trust_function_creators' instead
|
||||||
set @@global.log_bin_trust_function_creators= @old_log_bin_trust_function_creators;
|
set @@global.log_bin_trust_function_creators= @old_log_bin_trust_function_creators;
|
||||||
drop database mysqltest;
|
drop database mysqltest;
|
||||||
drop database mysqltest2;
|
drop database mysqltest2;
|
||||||
|
@ -5,17 +5,17 @@ SELECT @start_global_value;
|
|||||||
'#--------------------FN_DYNVARS_064_01-------------------------#'
|
'#--------------------FN_DYNVARS_064_01-------------------------#'
|
||||||
SET @@global.log_bin_trust_routine_creators = TRUE;
|
SET @@global.log_bin_trust_routine_creators = TRUE;
|
||||||
Warnings:
|
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.0. Please use '@@log_bin_trust_function_creators' instead
|
||||||
SET @@global.log_bin_trust_routine_creators = DEFAULT;
|
SET @@global.log_bin_trust_routine_creators = DEFAULT;
|
||||||
Warnings:
|
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.0. Please use '@@log_bin_trust_function_creators' instead
|
||||||
SELECT @@global.log_bin_trust_routine_creators;
|
SELECT @@global.log_bin_trust_routine_creators;
|
||||||
@@global.log_bin_trust_routine_creators
|
@@global.log_bin_trust_routine_creators
|
||||||
0
|
0
|
||||||
'#--------------------FN_DYNVARS_064_02-------------------------#'
|
'#--------------------FN_DYNVARS_064_02-------------------------#'
|
||||||
SET @@global.log_bin_trust_routine_creators = DEFAULT;
|
SET @@global.log_bin_trust_routine_creators = DEFAULT;
|
||||||
Warnings:
|
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.0. Please use '@@log_bin_trust_function_creators' instead
|
||||||
SELECT @@global.log_bin_trust_routine_creators = 'FALSE';
|
SELECT @@global.log_bin_trust_routine_creators = 'FALSE';
|
||||||
@@global.log_bin_trust_routine_creators = 'FALSE'
|
@@global.log_bin_trust_routine_creators = 'FALSE'
|
||||||
1
|
1
|
||||||
@ -24,37 +24,37 @@ Warning 1292 Truncated incorrect DOUBLE value: 'FALSE'
|
|||||||
'#--------------------FN_DYNVARS_064_03-------------------------#'
|
'#--------------------FN_DYNVARS_064_03-------------------------#'
|
||||||
SET @@global.log_bin_trust_routine_creators = ON;
|
SET @@global.log_bin_trust_routine_creators = ON;
|
||||||
Warnings:
|
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.0. Please use '@@log_bin_trust_function_creators' instead
|
||||||
SELECT @@global.log_bin_trust_routine_creators;
|
SELECT @@global.log_bin_trust_routine_creators;
|
||||||
@@global.log_bin_trust_routine_creators
|
@@global.log_bin_trust_routine_creators
|
||||||
1
|
1
|
||||||
SET @@global.log_bin_trust_routine_creators = OFF;
|
SET @@global.log_bin_trust_routine_creators = OFF;
|
||||||
Warnings:
|
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.0. Please use '@@log_bin_trust_function_creators' instead
|
||||||
SELECT @@global.log_bin_trust_routine_creators;
|
SELECT @@global.log_bin_trust_routine_creators;
|
||||||
@@global.log_bin_trust_routine_creators
|
@@global.log_bin_trust_routine_creators
|
||||||
0
|
0
|
||||||
SET @@global.log_bin_trust_routine_creators = 0;
|
SET @@global.log_bin_trust_routine_creators = 0;
|
||||||
Warnings:
|
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.0. Please use '@@log_bin_trust_function_creators' instead
|
||||||
SELECT @@global.log_bin_trust_routine_creators;
|
SELECT @@global.log_bin_trust_routine_creators;
|
||||||
@@global.log_bin_trust_routine_creators
|
@@global.log_bin_trust_routine_creators
|
||||||
0
|
0
|
||||||
SET @@global.log_bin_trust_routine_creators = 1;
|
SET @@global.log_bin_trust_routine_creators = 1;
|
||||||
Warnings:
|
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.0. Please use '@@log_bin_trust_function_creators' instead
|
||||||
SELECT @@global.log_bin_trust_routine_creators;
|
SELECT @@global.log_bin_trust_routine_creators;
|
||||||
@@global.log_bin_trust_routine_creators
|
@@global.log_bin_trust_routine_creators
|
||||||
1
|
1
|
||||||
SET @@global.log_bin_trust_routine_creators = TRUE;
|
SET @@global.log_bin_trust_routine_creators = TRUE;
|
||||||
Warnings:
|
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.0. Please use '@@log_bin_trust_function_creators' instead
|
||||||
SELECT @@global.log_bin_trust_routine_creators;
|
SELECT @@global.log_bin_trust_routine_creators;
|
||||||
@@global.log_bin_trust_routine_creators
|
@@global.log_bin_trust_routine_creators
|
||||||
1
|
1
|
||||||
SET @@global.log_bin_trust_routine_creators = FALSE;
|
SET @@global.log_bin_trust_routine_creators = FALSE;
|
||||||
Warnings:
|
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.0. Please use '@@log_bin_trust_function_creators' instead
|
||||||
SELECT @@global.log_bin_trust_routine_creators;
|
SELECT @@global.log_bin_trust_routine_creators;
|
||||||
@@global.log_bin_trust_routine_creators
|
@@global.log_bin_trust_routine_creators
|
||||||
0
|
0
|
||||||
@ -70,7 +70,7 @@ SET @@global.log_bin_trust_routine_creators = "OFFF";
|
|||||||
ERROR 42000: Variable 'log_bin_trust_routine_creators' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'log_bin_trust_routine_creators' can't be set to the value of 'OFFF'
|
||||||
SET @@global.log_bin_trust_routine_creators = OF;
|
SET @@global.log_bin_trust_routine_creators = OF;
|
||||||
Warnings:
|
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.0. Please use '@@log_bin_trust_function_creators' instead
|
||||||
SELECT @@global.log_bin_trust_routine_creators;
|
SELECT @@global.log_bin_trust_routine_creators;
|
||||||
@@global.log_bin_trust_routine_creators
|
@@global.log_bin_trust_routine_creators
|
||||||
0
|
0
|
||||||
@ -96,14 +96,14 @@ ERROR HY000: Variable 'log_bin_trust_routine_creators' is a GLOBAL variable
|
|||||||
'#---------------------FN_DYNVARS_064_07----------------------#'
|
'#---------------------FN_DYNVARS_064_07----------------------#'
|
||||||
SET @@global.log_bin_trust_routine_creators = TRUE;
|
SET @@global.log_bin_trust_routine_creators = TRUE;
|
||||||
Warnings:
|
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.0. Please use '@@log_bin_trust_function_creators' instead
|
||||||
SELECT @@log_bin_trust_routine_creators = @@global.log_bin_trust_routine_creators;
|
SELECT @@log_bin_trust_routine_creators = @@global.log_bin_trust_routine_creators;
|
||||||
@@log_bin_trust_routine_creators = @@global.log_bin_trust_routine_creators
|
@@log_bin_trust_routine_creators = @@global.log_bin_trust_routine_creators
|
||||||
1
|
1
|
||||||
'#---------------------FN_DYNVARS_064_08----------------------#'
|
'#---------------------FN_DYNVARS_064_08----------------------#'
|
||||||
SET @@global.log_bin_trust_routine_creators = TRUE;
|
SET @@global.log_bin_trust_routine_creators = TRUE;
|
||||||
Warnings:
|
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.0. Please use '@@log_bin_trust_function_creators' instead
|
||||||
SELECT @@log_bin_trust_routine_creators;
|
SELECT @@log_bin_trust_routine_creators;
|
||||||
@@log_bin_trust_routine_creators
|
@@log_bin_trust_routine_creators
|
||||||
1
|
1
|
||||||
@ -115,7 +115,7 @@ SELECT log_bin_trust_routine_creators = @@session.log_bin_trust_routine_creators
|
|||||||
ERROR 42S22: Unknown column 'log_bin_trust_routine_creators' in 'field list'
|
ERROR 42S22: Unknown column 'log_bin_trust_routine_creators' in 'field list'
|
||||||
SET @@global.log_bin_trust_routine_creators = @start_global_value;
|
SET @@global.log_bin_trust_routine_creators = @start_global_value;
|
||||||
Warnings:
|
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.0. Please use '@@log_bin_trust_function_creators' instead
|
||||||
SELECT @@global.log_bin_trust_routine_creators;
|
SELECT @@global.log_bin_trust_routine_creators;
|
||||||
@@global.log_bin_trust_routine_creators
|
@@global.log_bin_trust_routine_creators
|
||||||
1
|
1
|
||||||
|
@ -8053,7 +8053,7 @@ mysqld_get_one_option(int optid,
|
|||||||
if (!slave_warning_issued) //only show the warning once
|
if (!slave_warning_issued) //only show the warning once
|
||||||
{
|
{
|
||||||
slave_warning_issued = true;
|
slave_warning_issued = true;
|
||||||
WARN_DEPRECATED(NULL, "5.2", "for replication startup options",
|
WARN_DEPRECATED(NULL, "6.0", "for replication startup options",
|
||||||
"'CHANGE MASTER'");
|
"'CHANGE MASTER'");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -3682,7 +3682,7 @@ bool sys_var_thd_storage_engine::update(THD *thd, set_var *var)
|
|||||||
|
|
||||||
void sys_var_thd_table_type::warn_deprecated(THD *thd)
|
void sys_var_thd_table_type::warn_deprecated(THD *thd)
|
||||||
{
|
{
|
||||||
WARN_DEPRECATED(thd, "5.2", "@@table_type", "'@@storage_engine'");
|
WARN_DEPRECATED(thd, "6.0", "@@table_type", "'@@storage_engine'");
|
||||||
}
|
}
|
||||||
|
|
||||||
void sys_var_thd_table_type::set_default(THD *thd, enum_var_type type)
|
void sys_var_thd_table_type::set_default(THD *thd, enum_var_type type)
|
||||||
@ -3944,7 +3944,7 @@ bool process_key_caches(process_key_cache_t func)
|
|||||||
|
|
||||||
void sys_var_trust_routine_creators::warn_deprecated(THD *thd)
|
void sys_var_trust_routine_creators::warn_deprecated(THD *thd)
|
||||||
{
|
{
|
||||||
WARN_DEPRECATED(thd, "5.2", "@@log_bin_trust_routine_creators",
|
WARN_DEPRECATED(thd, "6.0", "@@log_bin_trust_routine_creators",
|
||||||
"'@@log_bin_trust_function_creators'");
|
"'@@log_bin_trust_function_creators'");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5967,7 +5967,7 @@ bool add_field_to_list(THD *thd, LEX_STRING *field_name, enum_field_types type,
|
|||||||
*/
|
*/
|
||||||
char buf[32];
|
char buf[32];
|
||||||
my_snprintf(buf, sizeof(buf), "TIMESTAMP(%s)", length);
|
my_snprintf(buf, sizeof(buf), "TIMESTAMP(%s)", length);
|
||||||
WARN_DEPRECATED(thd, "5.2", buf, "'TIMESTAMP'");
|
WARN_DEPRECATED(thd, "6.0", buf, "'TIMESTAMP'");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(new_field= new Create_field()) ||
|
if (!(new_field= new Create_field()) ||
|
||||||
|
@ -4639,7 +4639,7 @@ err:
|
|||||||
bool mysql_backup_table(THD* thd, TABLE_LIST* table_list)
|
bool mysql_backup_table(THD* thd, TABLE_LIST* table_list)
|
||||||
{
|
{
|
||||||
DBUG_ENTER("mysql_backup_table");
|
DBUG_ENTER("mysql_backup_table");
|
||||||
WARN_DEPRECATED(thd, "5.2", "BACKUP TABLE",
|
WARN_DEPRECATED(thd, "6.0", "BACKUP TABLE",
|
||||||
"MySQL Administrator (mysqldump, mysql)");
|
"MySQL Administrator (mysqldump, mysql)");
|
||||||
DBUG_RETURN(mysql_admin_table(thd, table_list, 0,
|
DBUG_RETURN(mysql_admin_table(thd, table_list, 0,
|
||||||
"backup", TL_READ, 0, 0, 0, 0,
|
"backup", TL_READ, 0, 0, 0, 0,
|
||||||
@ -4650,7 +4650,7 @@ bool mysql_backup_table(THD* thd, TABLE_LIST* table_list)
|
|||||||
bool mysql_restore_table(THD* thd, TABLE_LIST* table_list)
|
bool mysql_restore_table(THD* thd, TABLE_LIST* table_list)
|
||||||
{
|
{
|
||||||
DBUG_ENTER("mysql_restore_table");
|
DBUG_ENTER("mysql_restore_table");
|
||||||
WARN_DEPRECATED(thd, "5.2", "RESTORE TABLE",
|
WARN_DEPRECATED(thd, "6.0", "RESTORE TABLE",
|
||||||
"MySQL Administrator (mysqldump, mysql)");
|
"MySQL Administrator (mysqldump, mysql)");
|
||||||
DBUG_RETURN(mysql_admin_table(thd, table_list, 0,
|
DBUG_RETURN(mysql_admin_table(thd, table_list, 0,
|
||||||
"restore", TL_WRITE, 1, 1, 0,
|
"restore", TL_WRITE, 1, 1, 0,
|
||||||
|
@ -4392,7 +4392,7 @@ create_table_option:
|
|||||||
| TYPE_SYM opt_equal storage_engines
|
| TYPE_SYM opt_equal storage_engines
|
||||||
{
|
{
|
||||||
Lex->create_info.db_type= $3;
|
Lex->create_info.db_type= $3;
|
||||||
WARN_DEPRECATED(yythd, "5.2", "TYPE=storage_engine",
|
WARN_DEPRECATED(yythd, "6.0", "TYPE=storage_engine",
|
||||||
"'ENGINE=storage_engine'");
|
"'ENGINE=storage_engine'");
|
||||||
Lex->create_info.used_fields|= HA_CREATE_USED_ENGINE;
|
Lex->create_info.used_fields|= HA_CREATE_USED_ENGINE;
|
||||||
}
|
}
|
||||||
@ -9874,7 +9874,7 @@ show_param:
|
|||||||
| opt_full PLUGIN_SYM
|
| opt_full PLUGIN_SYM
|
||||||
{
|
{
|
||||||
LEX *lex= Lex;
|
LEX *lex= Lex;
|
||||||
WARN_DEPRECATED(yythd, "5.2", "SHOW PLUGIN", "'SHOW PLUGINS'");
|
WARN_DEPRECATED(yythd, "6.0", "SHOW PLUGIN", "'SHOW PLUGINS'");
|
||||||
lex->sql_command= SQLCOM_SHOW_PLUGINS;
|
lex->sql_command= SQLCOM_SHOW_PLUGINS;
|
||||||
if (prepare_schema_table(YYTHD, lex, 0, SCH_PLUGINS))
|
if (prepare_schema_table(YYTHD, lex, 0, SCH_PLUGINS))
|
||||||
MYSQL_YYABORT;
|
MYSQL_YYABORT;
|
||||||
@ -9943,7 +9943,7 @@ show_param:
|
|||||||
{
|
{
|
||||||
LEX *lex=Lex;
|
LEX *lex=Lex;
|
||||||
lex->sql_command= SQLCOM_SHOW_STORAGE_ENGINES;
|
lex->sql_command= SQLCOM_SHOW_STORAGE_ENGINES;
|
||||||
WARN_DEPRECATED(yythd, "5.2", "SHOW TABLE TYPES", "'SHOW [STORAGE] ENGINES'");
|
WARN_DEPRECATED(yythd, "6.0", "SHOW TABLE TYPES", "'SHOW [STORAGE] ENGINES'");
|
||||||
if (prepare_schema_table(YYTHD, lex, 0, SCH_ENGINES))
|
if (prepare_schema_table(YYTHD, lex, 0, SCH_ENGINES))
|
||||||
MYSQL_YYABORT;
|
MYSQL_YYABORT;
|
||||||
}
|
}
|
||||||
@ -10004,7 +10004,7 @@ show_param:
|
|||||||
my_error(ER_UNKNOWN_STORAGE_ENGINE, MYF(0), "InnoDB");
|
my_error(ER_UNKNOWN_STORAGE_ENGINE, MYF(0), "InnoDB");
|
||||||
MYSQL_YYABORT;
|
MYSQL_YYABORT;
|
||||||
}
|
}
|
||||||
WARN_DEPRECATED(yythd, "5.2", "SHOW INNODB STATUS", "'SHOW ENGINE INNODB STATUS'");
|
WARN_DEPRECATED(yythd, "6.0", "SHOW INNODB STATUS", "'SHOW ENGINE INNODB STATUS'");
|
||||||
}
|
}
|
||||||
| MUTEX_SYM STATUS_SYM
|
| MUTEX_SYM STATUS_SYM
|
||||||
{
|
{
|
||||||
@ -10016,7 +10016,7 @@ show_param:
|
|||||||
my_error(ER_UNKNOWN_STORAGE_ENGINE, MYF(0), "InnoDB");
|
my_error(ER_UNKNOWN_STORAGE_ENGINE, MYF(0), "InnoDB");
|
||||||
MYSQL_YYABORT;
|
MYSQL_YYABORT;
|
||||||
}
|
}
|
||||||
WARN_DEPRECATED(yythd, "5.2", "SHOW MUTEX STATUS", "'SHOW ENGINE INNODB MUTEX'");
|
WARN_DEPRECATED(yythd, "6.0", "SHOW MUTEX STATUS", "'SHOW ENGINE INNODB MUTEX'");
|
||||||
}
|
}
|
||||||
| opt_full PROCESSLIST_SYM
|
| opt_full PROCESSLIST_SYM
|
||||||
{ Lex->sql_command= SQLCOM_SHOW_PROCESSLIST;}
|
{ Lex->sql_command= SQLCOM_SHOW_PROCESSLIST;}
|
||||||
@ -10411,7 +10411,7 @@ load:
|
|||||||
| LOAD TABLE_SYM table_ident FROM MASTER_SYM
|
| LOAD TABLE_SYM table_ident FROM MASTER_SYM
|
||||||
{
|
{
|
||||||
LEX *lex=Lex;
|
LEX *lex=Lex;
|
||||||
WARN_DEPRECATED(yythd, "5.2", "LOAD TABLE FROM MASTER",
|
WARN_DEPRECATED(yythd, "6.0", "LOAD TABLE FROM MASTER",
|
||||||
"MySQL Administrator (mysqldump, mysql)");
|
"MySQL Administrator (mysqldump, mysql)");
|
||||||
if (lex->sphead)
|
if (lex->sphead)
|
||||||
{
|
{
|
||||||
@ -10458,7 +10458,7 @@ load_data:
|
|||||||
| FROM MASTER_SYM
|
| FROM MASTER_SYM
|
||||||
{
|
{
|
||||||
Lex->sql_command = SQLCOM_LOAD_MASTER_DATA;
|
Lex->sql_command = SQLCOM_LOAD_MASTER_DATA;
|
||||||
WARN_DEPRECATED(yythd, "5.2", "LOAD DATA FROM MASTER",
|
WARN_DEPRECATED(yythd, "6.0", "LOAD DATA FROM MASTER",
|
||||||
"mysqldump or future "
|
"mysqldump or future "
|
||||||
"BACKUP/RESTORE DATABASE facility");
|
"BACKUP/RESTORE DATABASE facility");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user