mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
mysqldump.c:
SET NAMES is not produced in compatibility modes
This commit is contained in:
@ -34,6 +34,7 @@
|
|||||||
** XML by Gary Huntress <ghuntress@mediaone.net> 10/10/01, cleaned up
|
** XML by Gary Huntress <ghuntress@mediaone.net> 10/10/01, cleaned up
|
||||||
** and adapted to mysqldump 05/11/01 by Jani Tolonen
|
** and adapted to mysqldump 05/11/01 by Jani Tolonen
|
||||||
** Added --single-transaction option 06/06/2002 by Peter Zaitsev
|
** Added --single-transaction option 06/06/2002 by Peter Zaitsev
|
||||||
|
** 10 Jun 2003: SET NAMES and --no-set-names by Alexander Barkov
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define DUMP_VERSION "10.2"
|
#define DUMP_VERSION "10.2"
|
||||||
@ -434,6 +435,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
|
|||||||
char buff[255];
|
char buff[255];
|
||||||
|
|
||||||
opt_quoted= 1;
|
opt_quoted= 1;
|
||||||
|
opt_set_names= 1;
|
||||||
opt_compatible_mode_str= argument;
|
opt_compatible_mode_str= argument;
|
||||||
opt_compatible_mode= find_set(&compatible_mode_typelib,
|
opt_compatible_mode= find_set(&compatible_mode_typelib,
|
||||||
argument, strlen(argument),
|
argument, strlen(argument),
|
||||||
|
Reference in New Issue
Block a user