summaryrefslogtreecommitdiff
path: root/storage/innobase/include/row0mysql.h
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2017-07-29 20:51:29 +0300
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2017-07-29 20:51:29 +0300
commit226dd699df5dc571db4c9bdd98de5871c0189c97 (patch)
treed53e25c1412e592f458f4bae4fbf41a86ded1257 /storage/innobase/include/row0mysql.h
parent2160a851840488d38358d5633237ec197fab969b (diff)
parentd36bd69790c5b27007800964cc1a8bebd9ac7fc2 (diff)
downloadmariadb-git-226dd699df5dc571db4c9bdd98de5871c0189c97.tar.gz
Merge remote-tracking branch 'merge/merge-innodb-5.6' into 10.0
Following merge from 5.6.36, this merge also rejects changes that collided with the rejection of 6ca4f693c1ce472e2b1bf7392607c2d1124b4293. We initially rejected 6ca4f693c1ce472e2b1bf7392607c2d1124b4293 because it was introducing a new storage engine API method.
Diffstat (limited to 'storage/innobase/include/row0mysql.h')
-rw-r--r--storage/innobase/include/row0mysql.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/storage/innobase/include/row0mysql.h b/storage/innobase/include/row0mysql.h
index f5f159fc414..043417333ab 100644
--- a/storage/innobase/include/row0mysql.h
+++ b/storage/innobase/include/row0mysql.h
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 2000, 2016, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2000, 2017, Oracle and/or its affiliates. All Rights Reserved.
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
@@ -724,6 +724,8 @@ struct row_prebuilt_t {
mem_heap_t* heap; /*!< memory heap from which
these auxiliary structures are
allocated when needed */
+ mem_heap_t* cursor_heap; /*!< memory heap from which
+ innodb_api_buf is allocated per session*/
ins_node_t* ins_node; /*!< Innobase SQL insert node
used to perform inserts
to the table */
@@ -874,6 +876,9 @@ struct row_prebuilt_t {
unsigned innodb_api:1; /*!< whether this is a InnoDB API
query */
const rec_t* innodb_api_rec; /*!< InnoDB API search result */
+ void* innodb_api_buf; /*!< Buffer holding copy of the physical
+ Innodb API search record */
+ ulint innodb_api_rec_size; /*!< Size of the Innodb API record */
byte* srch_key_val1; /*!< buffer used in converting
search key values from MySQL format
to InnoDB format.*/