diff options
author | Joerg Bruehe <joerg@mysql.com> | 2009-10-15 20:28:04 +0200 |
---|---|---|
committer | Joerg Bruehe <joerg@mysql.com> | 2009-10-15 20:28:04 +0200 |
commit | 29d526838d95138f5a4848490dfb475803a249ae (patch) | |
tree | 96df4f1638a3612394efa0b47493cbbe963e1106 | |
parent | 3f220a757436a66ce3f96e7d85aea7b43184c906 (diff) | |
parent | 5710aae8bb2c49815c3da37d711febea652b284b (diff) | |
download | mariadb-git-29d526838d95138f5a4848490dfb475803a249ae.tar.gz |
Merge the bug fixes into the push tree.
-rw-r--r-- | configure.in | 9 | ||||
-rw-r--r-- | mysys/mf_keycache.c | 4 |
2 files changed, 9 insertions, 4 deletions
diff --git a/configure.in b/configure.in index d87adf395ed..d479088356b 100644 --- a/configure.in +++ b/configure.in @@ -2769,7 +2769,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") @@ -2835,9 +2835,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 diff --git a/mysys/mf_keycache.c b/mysys/mf_keycache.c index 9bfdef82337..64d0ea98427 100644 --- a/mysys/mf_keycache.c +++ b/mysys/mf_keycache.c @@ -1729,6 +1729,7 @@ restart: - block assigned but not yet read from file (invalid data). */ +#if THREAD if (keycache->in_resize) { /* This is a request during a resize operation */ @@ -1970,6 +1971,9 @@ restart: } DBUG_RETURN(0); } +#else /* THREAD */ + DBUG_ASSERT(!keycache->in_resize); +#endif if (page_status == PAGE_READ && (block->status & (BLOCK_IN_EVICTION | BLOCK_IN_SWITCH | |