mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
IB: 0.2 part IV
* BEGIN_TS(), COMMIT_TS() SQL functions; * VTQ instead of packed stores secs + usecs like my_timestamp_to_binary() does; * versioned SELECT to IB is translated with COMMIT_TS(); * SQL fixes: - FOR_SYSTEM_TIME_UNSPECIFIED condition compares to TIMESTAMP_MAX_VALUE; - segfault fix #36: multiple execute of prepared stmt; - different tables to same stored procedure fix (#39) * Fixes of previous parts: ON DUPLICATE KEY, other misc fixes.
This commit is contained in:
@ -706,6 +706,11 @@ extern "C" void thd_kill_timeout(THD* thd)
|
||||
mysql_mutex_unlock(&thd->LOCK_thd_data);
|
||||
}
|
||||
|
||||
Time_zone * thd_get_timezone(THD * thd)
|
||||
{
|
||||
DBUG_ASSERT(thd && thd->variables.time_zone);
|
||||
return thd->variables.time_zone;
|
||||
}
|
||||
|
||||
THD::THD(my_thread_id id, bool is_wsrep_applier)
|
||||
:Statement(&main_lex, &main_mem_root, STMT_CONVENTIONAL_EXECUTION,
|
||||
@ -3587,6 +3592,7 @@ void Query_arena::set_query_arena(Query_arena *set)
|
||||
mem_root= set->mem_root;
|
||||
free_list= set->free_list;
|
||||
state= set->state;
|
||||
is_stored_procedure= set->is_stored_procedure;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user