summaryrefslogtreecommitdiff
path: root/sql/mysqld.cc
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2017-09-07 22:53:21 +0000
committerVladislav Vaintroub <wlad@mariadb.com>2017-09-07 22:54:06 +0000
commitd471469bd2a6de0d8d68343bcf374a382c5bfd92 (patch)
tree9bc25756deaf134cb07c11c0a8ebdf6f43a09ea5 /sql/mysqld.cc
parentd26fb96a9f225e53941fad5feb21abddbbf99a95 (diff)
downloadmariadb-git-d471469bd2a6de0d8d68343bcf374a382c5bfd92.tar.gz
MDEV-13466 Implement --export option for MariaDB Backup
full server recovery is performed . We start "mysqld" with --bootstrap and pass bootstrap script consisting of several FLUSH TABLES FOR export/ UNLOCK TABLES
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r--sql/mysqld.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 329d1492342..a221e4863b8 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -4984,6 +4984,11 @@ static int init_server_components()
help information. Since the implementation of plugin server
variables the help output is now written much later.
*/
+#ifdef _WIN32
+ if (opt_console)
+ opt_error_log= false;
+#endif
+
if (opt_error_log && !opt_abort)
{
if (!log_error_file_ptr[0])