MDL-15181 temporary tables support. No more differences in table_exists() +

implemented temptables store for mysql.
This commit is contained in:
stronk7
2009-08-31 15:47:46 +00:00
parent ed996ede96
commit 4ff402d68e
5 changed files with 13 additions and 61 deletions
+1 -2
View File
@@ -162,10 +162,9 @@ abstract class sql_generator {
* Given one xmldb_table, check if it exists in DB (true/false)
*
* @param mixed the table to be searched (string name or xmldb_table instance)
* @param bool temp table (might need different checks)
* @return boolean true/false
*/
public function table_exists($table, $temptable=false) {
public function table_exists($table) {
if (is_string($table)) {
$tablename = $table;
} else {