From d9678357aaf1c2205dcb022a1a118ba9ef1f3f2d Mon Sep 17 00:00:00 2001 From: zYne Date: Wed, 13 Jun 2007 21:34:00 +0000 Subject: [PATCH] ported getTemporaryTableQuery from MDB2 --- lib/Doctrine/Export/Firebird.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/Doctrine/Export/Firebird.php b/lib/Doctrine/Export/Firebird.php index 3d46a2320..d16cf7b75 100644 --- a/lib/Doctrine/Export/Firebird.php +++ b/lib/Doctrine/Export/Firebird.php @@ -482,6 +482,17 @@ class Doctrine_Export_Firebird extends Doctrine_Export // TODO ? $this->_silentCommit(); return $result; } + /** + * A method to return the required SQL string that fits between CREATE ... TABLE + * to create the table as a temporary table. + * + * @return string The string required to be placed between "CREATE" and "TABLE" + * to generate a temporary table, if possible. + */ + public function getTemporaryTableQuery() + { + return 'GLOBAL TEMPORARY'; + } /** * create sequence *