mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fix typos in C comments in miscellaneous files
This commit is contained in:
committed by
Daniel Black
parent
5f7e883336
commit
5f7c2a617f
@@ -33,7 +33,7 @@
|
||||
|
||||
DESCRIPTION
|
||||
init_dynamic_array() initiates array and allocate space for
|
||||
init_alloc eilements.
|
||||
init_alloc elements.
|
||||
Array is usable even if space allocation failed, hence, the
|
||||
function never returns TRUE.
|
||||
|
||||
@@ -280,7 +280,7 @@ my_bool allocate_dynamic(DYNAMIC_ARRAY *array, size_t max_elements)
|
||||
if (array->malloc_flags & MY_INIT_BUFFER_USED)
|
||||
{
|
||||
/*
|
||||
In this senerio, the buffer is statically preallocated,
|
||||
In this scenario, the buffer is statically preallocated,
|
||||
so we have to create an all-new malloc since we overflowed
|
||||
*/
|
||||
if (!(new_ptr= (uchar *) my_malloc(array->m_psi_key, size *
|
||||
|
Reference in New Issue
Block a user