diff options
author | Rik Prohaska <prohaska7@gmail.com> | 2015-03-25 17:16:57 -0400 |
---|---|---|
committer | Rik Prohaska <prohaska7@gmail.com> | 2015-03-25 17:16:57 -0400 |
commit | b576414189f9058c5d345fb94a574fb5a402b214 (patch) | |
tree | 099f077d75dc46d62613b359224ee6919cf2465f /storage/tokudb | |
parent | 51b68e4379aac2ea5cfe02c4c8040daf51b949ec (diff) | |
download | mariadb-git-b576414189f9058c5d345fb94a574fb5a402b214.tar.gz |
DB-829 ignore read uncommitted errors when querying tokudb_fractal_tree_info
Diffstat (limited to 'storage/tokudb')
-rw-r--r-- | storage/tokudb/hatoku_hton.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/tokudb/hatoku_hton.cc b/storage/tokudb/hatoku_hton.cc index c3dcd7be221..b8d48b47e58 100644 --- a/storage/tokudb/hatoku_hton.cc +++ b/storage/tokudb/hatoku_hton.cc @@ -1711,6 +1711,8 @@ static int tokudb_fractal_tree_info(TABLE *table, THD *thd) { error = tmp_cursor->c_get(tmp_cursor, &curr_key, &curr_val, DB_NEXT); if (!error) { error = tokudb_report_fractal_tree_info_for_db(&curr_key, &curr_val, table, thd); + if (error) + error = 0; // ignore read uncommitted errors } if (!error && thd_killed(thd)) error = ER_QUERY_INTERRUPTED; |