Skip to content

Commit 405df84

Browse files
author
Elżbieta Babij
committed
Some misspelling and whitespace fixes.
Reviewed-by: Vasil (on IM)
1 parent 5a5d733 commit 405df84

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

storage/innobase/include/mem0mem.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*****************************************************************************
22
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.
44
55
This program is free software; you can redistribute it and/or modify it under
66
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 */
5757
allocation functions can return
5858
NULL. */
5959

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 */
6161
#define MEM_HEAP_FOR_BTR_SEARCH (MEM_HEAP_BTR_SEARCH | MEM_HEAP_BUFFER)
6262
#define MEM_HEAP_FOR_PAGE_HASH (MEM_HEAP_DYNAMIC)
6363
#define MEM_HEAP_FOR_RECV_SYS (MEM_HEAP_BUFFER)
@@ -230,7 +230,7 @@ mem_heap_replace(
230230
/** Allocate a new chunk of memory from a memory heap, possibly discarding the
231231
topmost element and then copy the specified data to it. If the memory chunk
232232
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
234234
mem_heap_dup().
235235
@param[in,out] heap memory heap
236236
@param[in] top chunk to discard if possible
@@ -251,7 +251,7 @@ mem_heap_dup_replace(
251251
/** Allocate a new chunk of memory from a memory heap, possibly discarding the
252252
topmost element and then copy the specified string to it. If the memory chunk
253253
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
255255
mem_heap_strdup().
256256
@param[in,out] heap memory heap
257257
@param[in] top chunk to discard if possible

storage/innobase/include/mem0mem.ic

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*****************************************************************************
22

3-
Copyright (c) 1994, 2015, Oracle and/or its affiliates. All Rights Reserved.
3+
Copyright (c) 1994, 2017, Oracle and/or its affiliates. All Rights Reserved.
44

55
This program is free software; you can redistribute it and/or modify it under
66
the terms of the GNU General Public License as published by the Free Software
@@ -484,7 +484,7 @@ mem_heap_create_func(
484484
#endif /* UNIV_DEBUG */
485485
ulint type)
486486
{
487-
mem_block_t* block;
487+
mem_block_t* block;
488488

489489
if (!size) {
490490
size = MEM_BLOCK_START_SIZE;

0 commit comments

Comments
 (0)