mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0
This commit is contained in:
@ -349,6 +349,8 @@ void start_master()
|
|||||||
add_arg(&al, "--tmpdir=%s", mysql_tmp_dir);
|
add_arg(&al, "--tmpdir=%s", mysql_tmp_dir);
|
||||||
add_arg(&al, "--language=%s", lang_dir);
|
add_arg(&al, "--language=%s", lang_dir);
|
||||||
add_arg(&al, "--log-bin-trust-routine-creators");
|
add_arg(&al, "--log-bin-trust-routine-creators");
|
||||||
|
add_arg(&al, "--log-slow-queries");
|
||||||
|
add_arg(&al, "--log-queries-not-using-indexes");
|
||||||
#ifdef DEBUG //only for debug builds
|
#ifdef DEBUG //only for debug builds
|
||||||
add_arg(&al, "--debug");
|
add_arg(&al, "--debug");
|
||||||
#endif
|
#endif
|
||||||
@ -523,6 +525,8 @@ void start_slave()
|
|||||||
add_arg(&al, "-O");
|
add_arg(&al, "-O");
|
||||||
add_arg(&al, "slave_net_timeout=10");
|
add_arg(&al, "slave_net_timeout=10");
|
||||||
add_arg(&al, "--log-bin-trust-routine-creators");
|
add_arg(&al, "--log-bin-trust-routine-creators");
|
||||||
|
add_arg(&al, "--log-slow-queries");
|
||||||
|
add_arg(&al, "--log-queries-not-using-indexes");
|
||||||
#ifdef DEBUG //only for debug builds
|
#ifdef DEBUG //only for debug builds
|
||||||
add_arg(&al, "--debug");
|
add_arg(&al, "--debug");
|
||||||
#endif
|
#endif
|
||||||
|
@ -797,6 +797,9 @@ static int check_connection(THD *thd)
|
|||||||
|
|
||||||
DBUG_PRINT("info",
|
DBUG_PRINT("info",
|
||||||
("New connection received on %s", vio_description(net->vio)));
|
("New connection received on %s", vio_description(net->vio)));
|
||||||
|
#ifdef SIGNAL_WITH_VIO_CLOSE
|
||||||
|
thd->set_active_vio(net->vio);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!thd->main_security_ctx.host) // If TCP/IP connection
|
if (!thd->main_security_ctx.host) // If TCP/IP connection
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user