1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Don't use symlinks when using HAVE_purify.

Fix compile problem in sql_cache.cc


sql/mysqld.cc:
  Don't use symlinks if you are using HAVE_purify
sql/sql_cache.cc:
  Don't call bins_dump() when not debugging.
This commit is contained in:
unknown
2001-12-17 04:16:10 +02:00
parent 8f05035c27
commit 10b89ff5e7
2 changed files with 9 additions and 0 deletions

View File

@@ -2160,7 +2160,9 @@ uint Query_cache::find_bin(ulong size)
}
uint bin = steps[left].idx -
(uint)((size - steps[left].size)/steps[left].increment);
#ifndef DBUG_OFF
bins_dump();
#endif
DBUG_PRINT("qcache", ("bin %u step %u, size %lu step size %lu",
bin, left, size, steps[left].size));
DBUG_RETURN(bin);