Commit 70bb923a authored by unknown's avatar unknown

Fix WARN_DEPRECATED for 5.0 (it is in 5.1 we should have the extra arguments)

parent e573a775
...@@ -6873,7 +6873,7 @@ load: LOAD DATA_SYM ...@@ -6873,7 +6873,7 @@ load: LOAD DATA_SYM
YYABORT; YYABORT;
} }
lex->sql_command = SQLCOM_LOAD_MASTER_TABLE; lex->sql_command = SQLCOM_LOAD_MASTER_TABLE;
WARN_DEPRECATED(yythd, "5.2", "LOAD TABLE FROM MASTER", WARN_DEPRECATED("LOAD TABLE FROM MASTER",
"mysqldump or future " "mysqldump or future "
"BACKUP/RESTORE DATABASE facility"); "BACKUP/RESTORE DATABASE facility");
if (!Select->add_table_to_list(YYTHD, $3, NULL, TL_OPTION_UPDATING)) if (!Select->add_table_to_list(YYTHD, $3, NULL, TL_OPTION_UPDATING))
...@@ -6914,7 +6914,7 @@ load_data: ...@@ -6914,7 +6914,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("LOAD DATA FROM MASTER",
"mysqldump or future " "mysqldump or future "
"BACKUP/RESTORE DATABASE facility"); "BACKUP/RESTORE DATABASE facility");
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment