From db257c7de11da2771a9f61733f21a42c98cf2a97 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 1 Nov 2010 18:40:08 +0100 Subject: add CommonTable->optimize() method and call it during refresh --- testdb.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'testdb.php') diff --git a/testdb.php b/testdb.php index 2b60304..128561c 100644 --- a/testdb.php +++ b/testdb.php @@ -96,4 +96,7 @@ foreach($up->request(array('type'=>'test', 'ORDER'=>'name')) as $upstr) { $rpm = new TableRpm($db); $acl = new TableAcls($db); echo "Acls number : ".$acl->getCount()."\n"; +$res = $acl->optimize(); +echo "Acls optimization : ".$res[0]['Msg_type'].'='.$res[0]['Msg_text']."\n"; + ?> -- cgit