summaryrefslogtreecommitdiff
path: root/storage/tokudb
diff options
context:
space:
mode:
authorRik Prohaska <prohaska7@gmail.com>2015-03-25 17:16:57 -0400
committerRik Prohaska <prohaska7@gmail.com>2015-03-25 17:16:57 -0400
commitb576414189f9058c5d345fb94a574fb5a402b214 (patch)
tree099f077d75dc46d62613b359224ee6919cf2465f /storage/tokudb
parent51b68e4379aac2ea5cfe02c4c8040daf51b949ec (diff)
downloadmariadb-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.cc2
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;