summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-04-24 10:46:33 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2020-04-24 10:46:33 +0300
commitda7564edcf239fe7bc612efed97cc7b6fa89320b (patch)
tree78cd3284d1ad3555533bf33e08c747a819c826f2
parent57ec41d6ea5d9384b45d026b70b3fd97ddd2861b (diff)
downloadmariadb-git-da7564edcf239fe7bc612efed97cc7b6fa89320b.tar.gz
Cleanup: Make row_upd_store_row() static
-rw-r--r--storage/innobase/include/row0upd.h12
-rw-r--r--storage/innobase/row/row0upd.cc1
2 files changed, 2 insertions, 11 deletions
diff --git a/storage/innobase/include/row0upd.h b/storage/innobase/include/row0upd.h
index e08c9dd6b48..cca86590f74 100644
--- a/storage/innobase/include/row0upd.h
+++ b/storage/innobase/include/row0upd.h
@@ -1,7 +1,7 @@
/*****************************************************************************
Copyright (c) 1996, 2018, Oracle and/or its affiliates. All Rights Reserved.
-Copyright (c) 2018, MariaDB Corporation.
+Copyright (c) 2018, 2020, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -371,16 +371,6 @@ row_upd_changes_some_index_ord_field_binary(
/*========================================*/
const dict_table_t* table, /*!< in: table */
const upd_t* update);/*!< in: update vector for the row */
-/** Stores to the heap the row on which the node->pcur is positioned.
-@param[in] node row update node
-@param[in] thd mysql thread handle
-@param[in,out] mysql_table NULL, or mysql table object when
- user thread invokes dml */
-void
-row_upd_store_row(
- upd_node_t* node,
- THD* thd,
- TABLE* mysql_table);
/***********************************************************//**
Updates a row in a table. This is a high-level function used
in SQL execution graphs.
diff --git a/storage/innobase/row/row0upd.cc b/storage/innobase/row/row0upd.cc
index fd7d622aa69..943e31d99fe 100644
--- a/storage/innobase/row/row0upd.cc
+++ b/storage/innobase/row/row0upd.cc
@@ -2206,6 +2206,7 @@ row_upd_store_v_row(
@param[in] thd mysql thread handle
@param[in,out] mysql_table NULL, or mysql table object when
user thread invokes dml */
+static
void
row_upd_store_row(
upd_node_t* node,