We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e478470 commit ddaf0f1Copy full SHA for ddaf0f1
storage/innobase/handler/ha_innodb.cc
@@ -1,6 +1,6 @@
1
/*****************************************************************************
2
3
-Copyright (c) 2000, 2015, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2000, 2018, Oracle and/or its affiliates. All Rights Reserved.
4
Copyright (c) 2008, 2009 Google Inc.
5
Copyright (c) 2009, Percona Inc.
6
@@ -9225,8 +9225,10 @@ ha_innobase::start_stmt(
9225
case SQLCOM_INSERT:
9226
case SQLCOM_UPDATE:
9227
case SQLCOM_DELETE:
9228
+ case SQLCOM_REPLACE:
9229
init_table_handle_for_HANDLER();
9230
prebuilt->select_lock_type = LOCK_X;
9231
+ prebuilt->stored_select_lock_type = LOCK_X;
9232
error = row_lock_table_for_mysql(prebuilt, NULL, 1);
9233
9234
if (error != DB_SUCCESS) {
0 commit comments