Skip to content
Permalink
Browse files

No commit message

  • Loading branch information...
Karthik Kamath authored and dr-m committed Feb 14, 2018
1 parent fceda2d commit a49ec980422e04ce1a37344be09aa6254f16fa2a
Showing with 3 additions and 1 deletion.
  1. +3 −1 storage/xtradb/handler/ha_innodb.cc
@@ -1,6 +1,6 @@
/*****************************************************************************
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2000, 2018, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2008, 2009 Google Inc.
Copyright (c) 2009, Percona Inc.
@@ -10689,8 +10689,10 @@ ha_innobase::start_stmt(
case SQLCOM_INSERT:
case SQLCOM_UPDATE:
case SQLCOM_DELETE:
case SQLCOM_REPLACE:
init_table_handle_for_HANDLER();
prebuilt->select_lock_type = LOCK_X;
prebuilt->stored_select_lock_type = LOCK_X;
error = row_lock_table_for_mysql(prebuilt, NULL, 1);

if (error != DB_SUCCESS) {

0 comments on commit a49ec98

Please sign in to comment.
You can’t perform that action at this time.