mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
Merge gbichot@213.136.52.20:/home/bk/mysql-4.1
into mysql.com:/home/mysql_src/mysql-4.1-874
This commit is contained in:
commit
d966189dd7
1 changed files with 7 additions and 1 deletions
|
@ -34,6 +34,12 @@
|
|||
- If the variable should show up in 'show variables' add it to the
|
||||
init_vars[] struct in this file
|
||||
|
||||
NOTES:
|
||||
- Be careful with var->save_result: sys_var::check() only updates
|
||||
ulonglong_value; so other members of the union are garbage then; to use
|
||||
them you must first assign a value to them (in specific ::check() for
|
||||
example).
|
||||
|
||||
TODO:
|
||||
- Add full support for the variable character_set (for 4.1)
|
||||
|
||||
|
@ -2332,7 +2338,7 @@ bool sys_var_slave_skip_counter::update(THD *thd, set_var *var)
|
|||
bool sys_var_sync_binlog_period::update(THD *thd, set_var *var)
|
||||
{
|
||||
pthread_mutex_t *lock_log= mysql_bin_log.get_log_lock();
|
||||
sync_binlog_period= var->save_result.ulong_value;
|
||||
sync_binlog_period= (ulong) var->save_result.ulonglong_value;
|
||||
/*
|
||||
Must reset the counter otherwise it may already be beyond the new period
|
||||
and so the new period will not be taken into account. Need mutex otherwise
|
||||
|
|
Loading…
Reference in a new issue