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
b930b18e
Commit
b930b18e
authored
Oct 19, 2009
by
Alexander Nozdrin
Browse files
Options
Browse Files
Download
Plain Diff
Merge from mysql-5.1.
parents
4ed388a5
ee56b111
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
15 deletions
+17
-15
configure.in
configure.in
+5
-4
mysql-test/collections/default.experimental
mysql-test/collections/default.experimental
+1
-0
mysql-test/r/myisam.result
mysql-test/r/myisam.result
+0
-7
mysql-test/t/myisam.test
mysql-test/t/myisam.test
+7
-4
mysys/mf_keycache.c
mysys/mf_keycache.c
+4
-0
No files found.
configure.in
View file @
b930b18e
...
...
@@ -2835,7 +2835,7 @@ server_scripts=
dnl This probably should be cleaned up more - for now the threaded
dnl client is just using plain-old libs.
sql_client_dirs="strings
regex mysys dbug
libmysql"
sql_client_dirs="strings
mysys dbug extra regex
libmysql"
AM_CONDITIONAL(THREAD_SAFE_CLIENT, test "$THREAD_SAFE_CLIENT" != "no")
...
...
@@ -2901,9 +2901,10 @@ AC_SUBST(mysql_plugin_defs)
# Now that sql_client_dirs and sql_server_dirs are stable, determine the union.
# Start with the (longer) server list, add each client item not yet present.
sql_union_dirs=" $sql_server_dirs "
for DIR in $sql_client_dirs
# We support client-only builds by "--without-server", but not vice versa,
# so we start with the client list, then add each server item not yet present.
sql_union_dirs=" $sql_client_dirs "
for DIR in $sql_server_dirs
do
if echo " $sql_union_dirs " | grep " $DIR " >/dev/null
then
...
...
mysql-test/collections/default.experimental
View file @
b930b18e
...
...
@@ -2,6 +2,7 @@
# in alphabetical order. This also helps with merge conflict resolution.
binlog.binlog_tmp_table* # Bug#45578:2009-07-10 alik Test binlog_tmp_table fails ramdonly on PB2: Unknown table 't2'
binlog.binlog_multi_engine # joro : NDB tests marked as experimental as agreed with bochklin
funcs_1.charset_collation_1 # depends on compile-time decisions
...
...
mysql-test/r/myisam.result
View file @
b930b18e
...
...
@@ -2290,13 +2290,6 @@ Table Op Msg_type Msg_text
test.t1 repair error myisam_sort_buffer_size is too small
test.t1 repair warning Number of rows changed from 0 to 7168
test.t1 repair status OK
SET myisam_repair_threads=2;
REPAIR TABLE t1;
Table Op Msg_type Msg_text
test.t1 repair error myisam_sort_buffer_size is too small
test.t1 repair warning Number of rows changed from # to 7168
test.t1 repair status OK
SET myisam_repair_threads=@@global.myisam_repair_threads;
SET myisam_sort_buffer_size=@@global.myisam_sort_buffer_size;
DROP TABLE t1;
End of 5.1 tests
mysql-test/t/myisam.test
View file @
b930b18e
...
...
@@ -1538,11 +1538,14 @@ INSERT INTO t1 SELECT a+2560,b FROM t1;
INSERT
INTO
t1
SELECT
a
+
5120
,
b
FROM
t1
;
SET
myisam_sort_buffer_size
=
4
;
REPAIR
TABLE
t1
;
SET
myisam_repair_threads
=
2
;
# !!! Disabled until additional fix for BUG#47073 is pushed.
#SET myisam_repair_threads=2;
# May report different values depending on threads activity.
--
replace_regex
/
changed
from
[
0
-
9
]
+/
changed
from
#/
REPAIR
TABLE
t1
;
SET
myisam_repair_threads
=@@
global
.
myisam_repair_threads
;
#--replace_regex /changed from [0-9]+/changed from #/
#REPAIR TABLE t1;
#SET myisam_repair_threads=@@global.myisam_repair_threads;
SET
myisam_sort_buffer_size
=@@
global
.
myisam_sort_buffer_size
;
DROP
TABLE
t1
;
...
...
mysys/mf_keycache.c
View file @
b930b18e
...
...
@@ -1730,6 +1730,7 @@ static BLOCK_LINK *find_key_block(KEY_CACHE *keycache,
- block assigned but not yet read from file (invalid data).
*/
#ifdef THREAD
if
(
keycache
->
in_resize
)
{
/* This is a request during a resize operation */
...
...
@@ -1971,6 +1972,9 @@ static BLOCK_LINK *find_key_block(KEY_CACHE *keycache,
}
DBUG_RETURN
(
0
);
}
#else
/* THREAD */
DBUG_ASSERT
(
!
keycache
->
in_resize
);
#endif
if
(
page_status
==
PAGE_READ
&&
(
block
->
status
&
(
BLOCK_IN_EVICTION
|
BLOCK_IN_SWITCH
|
...
...
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