Clarify a comment

This commit is contained in:
Marko Mäkelä 2017-09-23 12:04:15 +03:00
parent e62b57e4d0
commit b773270c39
2 changed files with 5 additions and 4 deletions

View File

@ -285,8 +285,8 @@ row_build_row_ref_fast(
const ulint* map, /*!< in: array of field numbers in rec const ulint* map, /*!< in: array of field numbers in rec
telling how ref should be built from telling how ref should be built from
the fields of rec */ the fields of rec */
const rec_t* rec, /*!< in: record in the index; must be const rec_t* rec, /*!< in: secondary index record;
preserved while ref is used, as we do must be preserved while ref is used, as we do
not copy field values to heap */ not copy field values to heap */
const ulint* offsets);/*!< in: array returned by rec_get_offsets() */ const ulint* offsets);/*!< in: array returned by rec_get_offsets() */
/***************************************************************//** /***************************************************************//**

View File

@ -1,6 +1,7 @@
/***************************************************************************** /*****************************************************************************
Copyright (c) 1996, 2015, Oracle and/or its affiliates. All Rights Reserved. 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 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 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 const ulint* map, /*!< in: array of field numbers in rec
telling how ref should be built from telling how ref should be built from
the fields of rec */ the fields of rec */
const rec_t* rec, /*!< in: record in the index; must be const rec_t* rec, /*!< in: secondary index record;
preserved while ref is used, as we do must be preserved while ref is used, as we do
not copy field values to heap */ not copy field values to heap */
const ulint* offsets)/*!< in: array returned by rec_get_offsets() */ const ulint* offsets)/*!< in: array returned by rec_get_offsets() */
{ {