diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-11-01 18:40:08 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-11-01 18:40:08 +0100 |
commit | db257c7de11da2771a9f61733f21a42c98cf2a97 (patch) | |
tree | 3a93d847a2917e27f9a4f8402735176244f6a101 /testdb.php | |
parent | 8b50ace3024268b3067c0bf43bbd68f824b90d81 (diff) |
add CommonTable->optimize() method and call it during refresh
Diffstat (limited to 'testdb.php')
-rw-r--r-- | testdb.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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"; + ?> |