diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2017-09-23 12:04:15 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2017-09-23 20:44:26 +0300 |
commit | b773270c397a97425abc506e7d7fbc5fedb99d9c (patch) | |
tree | 542d7eca333383bb896646806b7b40f4dcb5a452 | |
parent | e62b57e4d003891574ba81d29377fc23f449f004 (diff) | |
download | mariadb-git-b773270c397a97425abc506e7d7fbc5fedb99d9c.tar.gz |
Clarify a comment
-rw-r--r-- | storage/innobase/include/row0row.h | 4 | ||||
-rw-r--r-- | storage/innobase/include/row0row.ic | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/storage/innobase/include/row0row.h b/storage/innobase/include/row0row.h index d24ae37b13d..efe17bc8d32 100644 --- a/storage/innobase/include/row0row.h +++ b/storage/innobase/include/row0row.h @@ -285,8 +285,8 @@ row_build_row_ref_fast( const ulint* map, /*!< in: array of field numbers in rec telling how ref should be built from the fields of rec */ - const rec_t* rec, /*!< in: record in the index; must be - preserved while ref is used, as we do + const rec_t* rec, /*!< in: secondary index record; + must be preserved while ref is used, as we do not copy field values to heap */ const ulint* offsets);/*!< in: array returned by rec_get_offsets() */ /***************************************************************//** diff --git a/storage/innobase/include/row0row.ic b/storage/innobase/include/row0row.ic index 8a32bb3ffd2..a7c0f2551b5 100644 --- a/storage/innobase/include/row0row.ic +++ b/storage/innobase/include/row0row.ic @@ -1,6 +1,7 @@ /***************************************************************************** Copyright (c) 1996, 2015, Oracle and/or its affiliates. All Rights Reserved. +Copyright (c) 2017, 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 @@ -144,8 +145,8 @@ row_build_row_ref_fast( const ulint* map, /*!< in: array of field numbers in rec telling how ref should be built from the fields of rec */ - const rec_t* rec, /*!< in: record in the index; must be - preserved while ref is used, as we do + const rec_t* rec, /*!< in: secondary index record; + must be preserved while ref is used, as we do not copy field values to heap */ const ulint* offsets)/*!< in: array returned by rec_get_offsets() */ { |