config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/innodb/include/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/innodb/include/check_pfs_mem_other_is_zero.inc

# Check that (after lots of action) the following is still zero. If it is not,
# then the file that is allocating dynamic memory should be added to the list
# in ut_new_boot().

-- echo count_alloc WHERE event_name like 'memory/innodb/other'

-- let pfs_enabled = `SELECT COUNT(*) FROM information_schema.engines WHERE support IN ('YES', 'DEFAULT') AND engine = 'PERFORMANCE_SCHEMA'`

-- disable_query_log

if ($pfs_enabled) {
	SELECT count_alloc FROM performance_schema.memory_summary_global_by_event_name
	WHERE event_name = 'memory/innodb/other';
}

if (!$pfs_enabled) {
	SELECT 0 AS count_alloc;
}

-- enable_query_log

Man Man