Skip to content

Commit

Permalink
cleanup: Typo fix appliccable -> applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
cvicentiu authored and spetrunia committed Jan 30, 2023
1 parent bcd5454 commit 987fcf9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/my_sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ extern int flush_write_cache(RECORD_CACHE *info);
extern void handle_recived_signals(void);

extern sig_handler my_set_alarm_variable(int signo);
extern my_bool radixsort_is_appliccable(uint n_items, size_t size_of_element);
extern my_bool radixsort_is_applicable(uint n_items, size_t size_of_element);
extern void my_string_ptr_sort(uchar *base,uint items,size_t size);
extern void radixsort_for_str_ptr(uchar* base[], uint number_of_elements,
size_t size_of_element,uchar *buffer[]);
Expand Down
2 changes: 1 addition & 1 deletion mysys/mf_radix.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

/* Radixsort */

my_bool radixsort_is_appliccable(uint n_items, size_t size_of_element)
my_bool radixsort_is_applicable(uint n_items, size_t size_of_element)
{
return size_of_element <= 20 && n_items >= 1000 && n_items < 100000;
}
Expand Down
2 changes: 1 addition & 1 deletion mysys/mf_sort.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ void my_string_ptr_sort(uchar *base, uint items, size_t size)
#if INT_MAX > 65536L
uchar **ptr=0;

if (radixsort_is_appliccable(items, size) &&
if (radixsort_is_applicable(items, size) &&
(ptr= (uchar**) my_malloc(PSI_NOT_INSTRUMENTED,
items * sizeof(char*),MYF(0))))
{
Expand Down
2 changes: 1 addition & 1 deletion sql/filesort_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ void Filesort_buffer::sort_buffer(const Sort_param *param, uint count)

uchar **buffer= NULL;
if (!param->using_packed_sortkeys() &&
radixsort_is_appliccable(count, param->sort_length) &&
radixsort_is_applicable(count, param->sort_length) &&
(buffer= (uchar**) my_malloc(PSI_INSTRUMENT_ME, count*sizeof(char*),
MYF(MY_THREAD_SPECIFIC))))
{
Expand Down

0 comments on commit 987fcf9

Please sign in to comment.