1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-05 12:42:17 +03:00

MDEV-7006 MDEV-7007: SET STATEMENT and slow log

fixed embedded server tests
MDEV-7009: SET STATEMENT min_examined_row_limit has no effect
MDEV-6948:SET STATEMENT gtid_domain_id = ... FOR has no effect (same for gtid_seq_no and server_id)

old values of SET STATENENT variables now saved in its own Query_arena and restored later
This commit is contained in:
Oleksandr Byelkin
2015-02-17 12:54:51 +01:00
parent dab12366b1
commit a71e2d23bd
14 changed files with 314 additions and 40 deletions

View File

@ -920,6 +920,19 @@ public:
};
class Query_arena_memroot: public Query_arena, public Sql_alloc
{
public:
Query_arena_memroot(MEM_ROOT *mem_root_arg, enum enum_state state_arg) :
Query_arena(mem_root_arg, state_arg)
{}
Query_arena_memroot() : Query_arena()
{}
virtual ~Query_arena_memroot() {}
};
class Server_side_cursor;
/**
@ -3674,6 +3687,7 @@ public:
return backup;
}
void clear_wakeup_ready() { wakeup_ready= false; }
/*
Sleep waiting for others to wake us up with signal_wakeup_ready().