establishConnection('w'); queryfx( $conn_w, 'UPDATE %T SET objectTranscript = "", ruleTranscripts = "", conditionTranscripts = "", applyTranscripts = "", garbageCollected = 1 WHERE garbageCollected = 0 AND `time` < %d LIMIT 100', $table->getTableName(), time() - $ttl); return ($conn_w->getAffectedRows() == 100); } }