summaryrefslogtreecommitdiff
path: root/storage/innobase/include/page0cur.ic
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2016-12-05 21:04:30 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2016-12-07 10:01:07 +0200
commita46ef6e92a8974d1b678261ececb4d5fbee4f6ba (patch)
tree167e0090ff35dc8c5e177f2125a620df8f96ac26 /storage/innobase/include/page0cur.ic
parent0009f4a441da6ec98fdc55c6a14ce007edf7cfdb (diff)
downloadmariadb-git-bb-10.2-mdev-11487.tar.gz
MDEV-11487 Revert InnoDB internal temporary tables from WL#7682bb-10.2-mdev-11487
WL#7682 in MySQL 5.7 introduced the possibility to create light-weight temporary tables in InnoDB. These are called 'intrinsic temporary tables' in InnoDB, and in MySQL 5.7, they can be created by the optimizer for sorting or buffering data in query processing. In MariaDB 10.2, the optimizer temporary tables cannot be created in InnoDB, so we should remove the dead code and related data structures.
Diffstat (limited to 'storage/innobase/include/page0cur.ic')
-rw-r--r--storage/innobase/include/page0cur.ic29
1 files changed, 0 insertions, 29 deletions
diff --git a/storage/innobase/include/page0cur.ic b/storage/innobase/include/page0cur.ic
index 8f580ef2d43..bfd9da47803 100644
--- a/storage/innobase/include/page0cur.ic
+++ b/storage/innobase/include/page0cur.ic
@@ -294,35 +294,6 @@ page_cur_tuple_insert(
ut_ad(!rec || !cmp_dtuple_rec(tuple, rec, *offsets));
return(rec);
}
-
-/** Insert a record next to page cursor. Record is directly copied to
-the page from tuple without creating intermediate copy of the record.
-
-@param[in,out] cursor a page cursor
-@param[in] tuple pointer to a data tuple
-@param[in] index record descriptor
-@param[in] n_ext number of externally stored columns
-@param[in] mtr mini-transaction handle, or NULL
-
-@return pointer to record if succeed, NULL otherwise */
-UNIV_INLINE
-rec_t*
-page_cur_tuple_direct_insert(
- page_cur_t* cursor,
- const dtuple_t* tuple,
- dict_index_t* index,
- ulint n_ext,
- mtr_t* mtr)
-{
- rec_t* rec;
-
- ut_ad(dict_table_is_intrinsic(index->table));
-
- rec = page_cur_direct_insert_rec_low(
- cursor->rec, index, tuple, n_ext, mtr);
-
- return(rec);
-}
#endif /* !UNIV_HOTBACKUP */
/***********************************************************//**