summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index 2991b6eb11c..ac2512431ad 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -3889,14 +3889,11 @@ int handler::ha_check(THD *thd, HA_CHECK_OPT *check_opt)
if it is started.
*/
+inline
void
-handler::mark_trx_read_write_part2()
+handler::mark_trx_read_write()
{
Ha_trx_info *ha_info= &ha_thd()->ha_data[ht->slot].ha_info[0];
-
- /* Don't call this function again for this statement */
- mark_trx_done= TRUE;
-
/*
When a storage engine method is called, the transaction must
have been started, unless it's a DDL call, for which the
@@ -6115,6 +6112,10 @@ void signal_log_not_needed(struct handlerton, char *log_file)
DBUG_VOID_RETURN;
}
+void handler::set_lock_type(enum thr_lock_type lock)
+{
+ table->reginfo.lock_type= lock;
+}
#ifdef TRANS_LOG_MGM_EXAMPLE_CODE
/*