From 0edac8810b702ee4a8b8aeef18003d5549c1ac0d Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 24 Aug 2015 16:05:51 -0700 Subject: don't try to optimise the session table. Just let it fragment and let the DB worry about it. --- include/session.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/session.php') diff --git a/include/session.php b/include/session.php index 31b3f0614..92004bc18 100644 --- a/include/session.php +++ b/include/session.php @@ -98,9 +98,6 @@ function ref_session_destroy ($id) { function ref_session_gc($expire) { q("DELETE FROM session WHERE expire < %d", dbesc(time())); - if (! get_config('system', 'innodb')) - db_optimizetable('session'); - return true; } -- cgit v1.2.3