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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
ad53d767
Commit
ad53d767
authored
May 07, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
parents
e55be9e0
a81823bf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
mysql-test/r/repair.result
mysql-test/r/repair.result
+1
-1
storage/myisam/sort.c
storage/myisam/sort.c
+4
-4
No files found.
mysql-test/r/repair.result
View file @
ad53d767
...
@@ -84,7 +84,7 @@ Error 1034 Number of rows changed from 0 to 157
...
@@ -84,7 +84,7 @@ Error 1034 Number of rows changed from 0 to 157
SET myisam_repair_threads=2;
SET myisam_repair_threads=2;
REPAIR TABLE t1;
REPAIR TABLE t1;
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.t1 repair error
sort_buffer_size is t
o small
test.t1 repair error
myisam_sort_buffer_size is to
o small
test.t1 repair warning Number of rows changed from 0 to 157
test.t1 repair warning Number of rows changed from 0 to 157
test.t1 repair status OK
test.t1 repair status OK
SET myisam_repair_threads=@@global.myisam_repair_threads;
SET myisam_repair_threads=@@global.myisam_repair_threads;
...
...
storage/myisam/sort.c
View file @
ad53d767
...
@@ -151,7 +151,7 @@ int _create_index_by_sort(MI_SORT_PARAM *info,my_bool no_messages,
...
@@ -151,7 +151,7 @@ int _create_index_by_sort(MI_SORT_PARAM *info,my_bool no_messages,
keys
<
(
uint
)
maxbuffer
)
keys
<
(
uint
)
maxbuffer
)
{
{
mi_check_print_error
(
info
->
sort_info
->
param
,
mi_check_print_error
(
info
->
sort_info
->
param
,
"
sort_buffer_size is t
o small"
);
"
myisam_sort_buffer_size is to
o small"
);
goto
err
;
goto
err
;
}
}
}
}
...
@@ -175,7 +175,7 @@ int _create_index_by_sort(MI_SORT_PARAM *info,my_bool no_messages,
...
@@ -175,7 +175,7 @@ int _create_index_by_sort(MI_SORT_PARAM *info,my_bool no_messages,
}
}
if
(
memavl
<
MIN_SORT_MEMORY
)
if
(
memavl
<
MIN_SORT_MEMORY
)
{
{
mi_check_print_error
(
info
->
sort_info
->
param
,
"
Sort buffer t
o small"
);
/* purecov: tested */
mi_check_print_error
(
info
->
sort_info
->
param
,
"
MyISAM sort buffer to
o small"
);
/* purecov: tested */
goto
err
;
/* purecov: tested */
goto
err
;
/* purecov: tested */
}
}
(
*
info
->
lock_in_memory
)(
info
->
sort_info
->
param
);
/* Everything is allocated */
(
*
info
->
lock_in_memory
)(
info
->
sort_info
->
param
);
/* Everything is allocated */
...
@@ -369,7 +369,7 @@ pthread_handler_t thr_find_all_keys(void *arg)
...
@@ -369,7 +369,7 @@ pthread_handler_t thr_find_all_keys(void *arg)
keys
<
(
uint
)
maxbuffer
)
keys
<
(
uint
)
maxbuffer
)
{
{
mi_check_print_error
(
sort_param
->
sort_info
->
param
,
mi_check_print_error
(
sort_param
->
sort_info
->
param
,
"
sort_buffer_size is t
o small"
);
"
myisam_sort_buffer_size is to
o small"
);
goto
err
;
goto
err
;
}
}
}
}
...
@@ -397,7 +397,7 @@ pthread_handler_t thr_find_all_keys(void *arg)
...
@@ -397,7 +397,7 @@ pthread_handler_t thr_find_all_keys(void *arg)
if
(
memavl
<
MIN_SORT_MEMORY
)
if
(
memavl
<
MIN_SORT_MEMORY
)
{
{
mi_check_print_error
(
sort_param
->
sort_info
->
param
,
mi_check_print_error
(
sort_param
->
sort_info
->
param
,
"
S
ort buffer too small"
);
"
MyISAM s
ort buffer too small"
);
goto
err
;
/* purecov: tested */
goto
err
;
/* purecov: tested */
}
}
...
...
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