diff options
author | unknown <cmiller@zippy.cornsilk.net> | 2007-05-04 17:38:29 -0400 |
---|---|---|
committer | unknown <cmiller@zippy.cornsilk.net> | 2007-05-04 17:38:29 -0400 |
commit | d64e63b36094aec1fc3c3132716d55322ac97dbf (patch) | |
tree | 906e4e11b66b9d2e611cec7b48b7b5136b6ee0aa /myisam | |
parent | c004ad09444b8b3be367b6620aa4f0716684bdc3 (diff) | |
download | mariadb-git-d64e63b36094aec1fc3c3132716d55322ac97dbf.tar.gz |
Bug #27976: Misleading error message, 'Sort buffer to small'
The message is gramatically wrong, and factually wrong.
Change it to refer to the myisam_sort_buffer_size variable and change
"to" to "too".
myisam/sort.c:
Change error messages to be gramatically correct and to refer to the
correct variable.
mysql-test/r/repair.result:
Refer to the correct variable. Message changed.
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/sort.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/myisam/sort.c b/myisam/sort.c index fe9459e572b..b909a16e8e6 100644 --- a/myisam/sort.c +++ b/myisam/sort.c @@ -152,7 +152,7 @@ int _create_index_by_sort(MI_SORT_PARAM *info,my_bool no_messages, keys < (uint) maxbuffer) { mi_check_print_error(info->sort_info->param, - "sort_buffer_size is to small"); + "myisam_sort_buffer_size is too small"); goto err; } } @@ -176,7 +176,7 @@ int _create_index_by_sort(MI_SORT_PARAM *info,my_bool no_messages, } if (memavl < MIN_SORT_MEMORY) { - mi_check_print_error(info->sort_info->param,"Sort buffer to small"); /* purecov: tested */ + mi_check_print_error(info->sort_info->param,"MyISAM sort buffer too small"); /* purecov: tested */ goto err; /* purecov: tested */ } (*info->lock_in_memory)(info->sort_info->param);/* Everything is allocated */ @@ -370,7 +370,7 @@ pthread_handler_decl(thr_find_all_keys,arg) keys < (uint) maxbuffer) { mi_check_print_error(sort_param->sort_info->param, - "sort_buffer_size is to small"); + "myisam_sort_buffer_size is too small"); goto err; } } @@ -393,7 +393,7 @@ pthread_handler_decl(thr_find_all_keys,arg) } if (memavl < MIN_SORT_MEMORY) { - mi_check_print_error(sort_param->sort_info->param, "Sort buffer too small"); + mi_check_print_error(sort_param->sort_info->param, "MyISAM sort buffer too small"); goto err; /* purecov: tested */ } |