mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
#252 fix MDEV-6324 uninit var in discover3
This commit is contained in:
parent
ee2a0724a0
commit
fd9ded206c
2 changed files with 2 additions and 2 deletions
|
@ -161,7 +161,7 @@ PATENT RIGHTS GRANT:
|
|||
#if defined(MARIADB_BASE_VERSION)
|
||||
#define TOKU_INCLUDE_EXTENDED_KEYS 1
|
||||
#endif
|
||||
#define TOKU_INCLUDE_HANDLERTON_HANDLE_FATAL_SIGNAL 1
|
||||
#define TOKU_INCLUDE_HANDLERTON_HANDLE_FATAL_SIGNAL 0
|
||||
|
||||
#else
|
||||
#error
|
||||
|
|
|
@ -969,7 +969,7 @@ static int tokudb_discover3(handlerton *hton, THD* thd, const char *db, const ch
|
|||
HA_METADATA_KEY curr_key = hatoku_frm_data;
|
||||
DBT key = {};
|
||||
DBT value = {};
|
||||
bool do_commit;
|
||||
bool do_commit = false;
|
||||
|
||||
#if 100000 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 100099
|
||||
tokudb_trx_data *trx = (tokudb_trx_data *) thd_get_ha_data(thd, tokudb_hton);
|
||||
|
|
Loading…
Add table
Reference in a new issue