Commit d12bd3f7 authored by Joerg Bruehe's avatar Joerg Bruehe

Merge the bug fixes into the push tree.

parents a3586e22 0f1547a0
...@@ -2769,7 +2769,7 @@ server_scripts= ...@@ -2769,7 +2769,7 @@ server_scripts=
dnl This probably should be cleaned up more - for now the threaded dnl This probably should be cleaned up more - for now the threaded
dnl client is just using plain-old libs. 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") AM_CONDITIONAL(THREAD_SAFE_CLIENT, test "$THREAD_SAFE_CLIENT" != "no")
...@@ -2835,9 +2835,10 @@ AC_SUBST(mysql_plugin_defs) ...@@ -2835,9 +2835,10 @@ AC_SUBST(mysql_plugin_defs)
# Now that sql_client_dirs and sql_server_dirs are stable, determine the union. # 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. # We support client-only builds by "--without-server", but not vice versa,
sql_union_dirs=" $sql_server_dirs " # so we start with the client list, then add each server item not yet present.
for DIR in $sql_client_dirs sql_union_dirs=" $sql_client_dirs "
for DIR in $sql_server_dirs
do do
if echo " $sql_union_dirs " | grep " $DIR " >/dev/null if echo " $sql_union_dirs " | grep " $DIR " >/dev/null
then then
......
...@@ -1729,6 +1729,7 @@ static BLOCK_LINK *find_key_block(KEY_CACHE *keycache, ...@@ -1729,6 +1729,7 @@ static BLOCK_LINK *find_key_block(KEY_CACHE *keycache,
- block assigned but not yet read from file (invalid data). - block assigned but not yet read from file (invalid data).
*/ */
#if THREAD
if (keycache->in_resize) if (keycache->in_resize)
{ {
/* This is a request during a resize operation */ /* This is a request during a resize operation */
...@@ -1970,6 +1971,9 @@ static BLOCK_LINK *find_key_block(KEY_CACHE *keycache, ...@@ -1970,6 +1971,9 @@ static BLOCK_LINK *find_key_block(KEY_CACHE *keycache,
} }
DBUG_RETURN(0); DBUG_RETURN(0);
} }
#else /* THREAD */
DBUG_ASSERT(!keycache->in_resize);
#endif
if (page_status == PAGE_READ && if (page_status == PAGE_READ &&
(block->status & (BLOCK_IN_EVICTION | BLOCK_IN_SWITCH | (block->status & (BLOCK_IN_EVICTION | BLOCK_IN_SWITCH |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment