mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
MENT-807 Crash with CREATE TEMPORARY TABLE .. ENGINE=SPIDER .. wrapper "odbc"
This commit is contained in:
parent
09be96ff08
commit
1ddff751eb
1 changed files with 4 additions and 0 deletions
|
@ -6323,6 +6323,7 @@ int spider_free_share(
|
|||
#endif
|
||||
if (
|
||||
share->sts_init &&
|
||||
share->table_share->tmp_table == NO_TMP_TABLE &&
|
||||
spider_param_store_last_sts(share->store_last_sts)
|
||||
) {
|
||||
if (!thd)
|
||||
|
@ -6343,6 +6344,7 @@ int spider_free_share(
|
|||
}
|
||||
if (
|
||||
share->crd_init &&
|
||||
share->table_share->tmp_table == NO_TMP_TABLE &&
|
||||
spider_param_store_last_crd(share->store_last_crd)
|
||||
) {
|
||||
if (!thd)
|
||||
|
@ -8171,6 +8173,7 @@ int spider_get_sts(
|
|||
#endif
|
||||
if (
|
||||
!share->sts_init &&
|
||||
share->table_share->tmp_table == NO_TMP_TABLE &&
|
||||
spider_param_load_sts_at_startup(share->load_sts_at_startup) &&
|
||||
(!share->init || share->init_error)
|
||||
) {
|
||||
|
@ -8321,6 +8324,7 @@ int spider_get_crd(
|
|||
#endif
|
||||
if (
|
||||
!share->crd_init &&
|
||||
share->table_share->tmp_table == NO_TMP_TABLE &&
|
||||
spider_param_load_sts_at_startup(share->load_crd_at_startup)
|
||||
) {
|
||||
error_num = spider_sys_get_table_crd(
|
||||
|
|
Loading…
Reference in a new issue