1
1
/* ****************************************************************************
2
2
3
- Copyright (c) 1994, 2016 , Oracle and/or its affiliates. All Rights Reserved.
3
+ Copyright (c) 1994, 2017 , Oracle and/or its affiliates. All Rights Reserved.
4
4
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
@@ -57,7 +57,7 @@ buffer pool; the latter method is used for very big heaps */
57
57
allocation functions can return
58
58
NULL. */
59
59
60
- /* * Different type of heaps in terms of which datastructure is using them */
60
+ /* * Different type of heaps in terms of which data structure is using them */
61
61
#define MEM_HEAP_FOR_BTR_SEARCH (MEM_HEAP_BTR_SEARCH | MEM_HEAP_BUFFER)
62
62
#define MEM_HEAP_FOR_PAGE_HASH (MEM_HEAP_DYNAMIC)
63
63
#define MEM_HEAP_FOR_RECV_SYS (MEM_HEAP_BUFFER)
@@ -230,7 +230,7 @@ mem_heap_replace(
230
230
/* * Allocate a new chunk of memory from a memory heap, possibly discarding the
231
231
topmost element and then copy the specified data to it. If the memory chunk
232
232
specified with (top, top_sz) is the topmost element, then it will be discarded,
233
- otherwise it will be left untouched and this function will be equivallent to
233
+ otherwise it will be left untouched and this function will be equivalent to
234
234
mem_heap_dup().
235
235
@param[in,out] heap memory heap
236
236
@param[in] top chunk to discard if possible
@@ -251,7 +251,7 @@ mem_heap_dup_replace(
251
251
/* * Allocate a new chunk of memory from a memory heap, possibly discarding the
252
252
topmost element and then copy the specified string to it. If the memory chunk
253
253
specified with (top, top_sz) is the topmost element, then it will be discarded,
254
- otherwise it will be left untouched and this function will be equivallent to
254
+ otherwise it will be left untouched and this function will be equivalent to
255
255
mem_heap_strdup().
256
256
@param[in,out] heap memory heap
257
257
@param[in] top chunk to discard if possible
0 commit comments