/** * Creates a TRUNCATE TABLE SQL-statement * * @param string See exec_TRUNCATEquery() * @return string Full SQL query for TRUNCATE TABLE */ public function TRUNCATEquery($table) { $table = $this->quoteFromTables($table); // Call parent method to build actual query $query = parent::TRUNCATEquery($table); if ($this->debugOutput || $this->store_lastBuiltQuery) { $this->debug_lastBuiltQuery = $query; } return $query; }