summaryrefslogtreecommitdiffstats
path: root/testdb.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2010-11-01 18:40:08 +0100
committerRemi Collet <fedora@famillecollet.com>2010-11-01 18:40:08 +0100
commitdb257c7de11da2771a9f61733f21a42c98cf2a97 (patch)
tree3a93d847a2917e27f9a4f8402735176244f6a101 /testdb.php
parent8b50ace3024268b3067c0bf43bbd68f824b90d81 (diff)
add CommonTable->optimize() method and call it during refresh
Diffstat (limited to 'testdb.php')
-rw-r--r--testdb.php3
1 files changed, 3 insertions, 0 deletions
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";
+
?>