mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
[t:2254], put back DB_INHERIT_ISOLATION
git-svn-id: file:///svn/mysql/tokudb-engine/src@16939 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
5c222cf3a0
commit
5f87b2596e
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
}
|
}
|
||||||
|
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue