mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Merge 10.1 into 10.2
This commit is contained in:
commit
ece9c54e10
36 changed files with 623 additions and 251 deletions
|
|
@ -4183,8 +4183,7 @@ mariadb_dyncol_json_internal(DYNAMIC_COLUMN *str, DYNAMIC_STRING *json,
|
|||
}
|
||||
else
|
||||
{
|
||||
if ((rc= mariadb_dyncol_val_str(json, &val,
|
||||
&my_charset_utf8_general_ci, '"')) < 0)
|
||||
if ((rc= mariadb_dyncol_val_str(json, &val, DYNCOL_UTF, '"')) < 0)
|
||||
goto err;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -273,7 +273,7 @@ void thr_end_alarm(thr_alarm_t *alarmed)
|
|||
/*
|
||||
Come here when some alarm in queue is due.
|
||||
Mark all alarms with are finnished in list.
|
||||
Shedule alarms to be sent again after 1-10 sec (many alarms at once)
|
||||
Schedule alarms to be sent again after 1-10 sec (many alarms at once)
|
||||
If alarm_aborted is set then all alarms are given and resent
|
||||
every second.
|
||||
*/
|
||||
|
|
@ -425,7 +425,7 @@ void end_thr_alarm(my_bool free_structures)
|
|||
if (alarm_aborted != 1) /* If memory not freed */
|
||||
{
|
||||
mysql_mutex_lock(&LOCK_alarm);
|
||||
DBUG_PRINT("info",("Resheduling %d waiting alarms",alarm_queue.elements));
|
||||
DBUG_PRINT("info",("Rescheduling %d waiting alarms",alarm_queue.elements));
|
||||
alarm_aborted= -1; /* mark aborted */
|
||||
if (alarm_queue.elements || (alarm_thread_running && free_structures))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue