Commit 5f87b259 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:2254], put back DB_INHERIT_ISOLATION

git-svn-id: file:///svn/mysql/tokudb-engine/src@16939 c7de825b-a66e-492c-adef-691d508d4ae1
parent 5c222cf3
...@@ -3213,7 +3213,7 @@ int ha_tokudb::write_row(uchar * record) { ...@@ -3213,7 +3213,7 @@ int ha_tokudb::write_row(uchar * record) {
} }
if (using_ignore) { if (using_ignore) {
error = db_env->txn_begin(db_env, transaction, &sub_trans, 0); error = db_env->txn_begin(db_env, transaction, &sub_trans, DB_INHERIT_ISOLATION);
if (error) { if (error) {
goto cleanup; goto cleanup;
} }
...@@ -3398,7 +3398,7 @@ int ha_tokudb::update_row(const uchar * old_row, uchar * new_row) { ...@@ -3398,7 +3398,7 @@ int ha_tokudb::update_row(const uchar * old_row, uchar * new_row) {
} }
if (using_ignore) { if (using_ignore) {
error = db_env->txn_begin(db_env, transaction, &sub_trans, 0 ); error = db_env->txn_begin(db_env, transaction, &sub_trans, DB_INHERIT_ISOLATION);
if (error) { if (error) {
goto cleanup; goto cleanup;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment