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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user