Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
1bf25092
Commit
1bf25092
authored
Jun 13, 2016
by
Vicențiu Ciorbaru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-10162: Update repair testcase
parent
2b47832a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
15 deletions
+6
-15
storage/maria/ma_sort.c
storage/maria/ma_sort.c
+2
-6
storage/myisam/sort.c
storage/myisam/sort.c
+4
-9
No files found.
storage/maria/ma_sort.c
View file @
1bf25092
...
...
@@ -377,7 +377,7 @@ static my_bool _ma_thr_find_all_keys_exec(MARIA_SORT_PARAM* sort_param)
keys
<
maxbuffer
)
{
_ma_check_print_error
(
sort_param
->
sort_info
->
param
,
"aria_sort_buffer_size is too small"
);
"aria_sort_buffer_size is too small
.
"
);
goto
err
;
}
}
...
...
@@ -407,11 +407,7 @@ static my_bool _ma_thr_find_all_keys_exec(MARIA_SORT_PARAM* sort_param)
{
/* purecov: begin inspected */
_ma_check_print_error
(
sort_param
->
sort_info
->
param
,
"aria_sort_buffer_size is too small. Current "
"aria_sort_buffer_size: %llu rows: %llu "
"sort_length: %u"
,
(
ulonglong
)
sort_param
->
sortbuff_size
,
(
ulonglong
)
idx
,
sort_length
);
"aria_sort_buffer_size is too small."
);
my_errno
=
ENOMEM
;
goto
err
;
/* purecov: end inspected */
...
...
storage/myisam/sort.c
View file @
1bf25092
...
...
@@ -190,7 +190,8 @@ int _create_index_by_sort(MI_SORT_PARAM *info,my_bool no_messages,
}
if
(
memavl
<
MIN_SORT_BUFFER
)
{
mi_check_print_error
(
info
->
sort_info
->
param
,
"MyISAM sort buffer too small"
);
/* purecov: tested */
mi_check_print_error
(
info
->
sort_info
->
param
,
"MyISAM sort buffer too small"
);
/* purecov: tested */
my_errno
=
ENOMEM
;
/* purecov: tested */
goto
err
;
/* purecov: tested */
}
...
...
@@ -331,8 +332,6 @@ static my_bool thr_find_all_keys_exec(MI_SORT_PARAM *sort_param)
my_bool
error
=
FALSE
;
if
(
sort_param
->
sort_info
->
got_error
)
error
=
TRUE
;
if
(
error
)
DBUG_RETURN
(
error
);
set_sort_param_read_write
(
sort_param
);
...
...
@@ -368,9 +367,7 @@ static my_bool thr_find_all_keys_exec(MI_SORT_PARAM *sort_param)
keys
<
(
uint
)
maxbuffer
)
{
mi_check_print_error
(
sort_param
->
sort_info
->
param
,
"myisam_sort_buffer_size is too small. Current "
"myisam_sort_buffer_size: %llu rows: %llu sort_length: %u"
,
sort_param
->
sortbuff_size
,
(
ulonglong
)
idx
,
sort_length
);
"myisam_sort_buffer_size is too small"
);
DBUG_RETURN
(
TRUE
);
}
}
...
...
@@ -398,9 +395,7 @@ static my_bool thr_find_all_keys_exec(MI_SORT_PARAM *sort_param)
{
/* purecov: begin inspected */
mi_check_print_error
(
sort_param
->
sort_info
->
param
,
"myisam_sort_buffer_size is too small. Current "
"myisam_sort_buffer_size: %llu rows: %llu sort_length: %u"
,
sort_param
->
sortbuff_size
,
(
ulonglong
)
idx
,
sort_length
);
"myisam_sort_buffer_size is too small"
);
my_errno
=
ENOMEM
;
goto
err
;
/* purecov: end inspected */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment