[Solar-svn] Revision 3215
pmjones at solarphp.com
pmjones at solarphp.com
Wed Jun 11 08:40:37 CDT 2008
Solar_Sql_Adapter_Sqlite2: [FIX] Method _dropSequence() now uses dropTable() to get the benefit of the 'manual' IF EXISTS check.
Modified: trunk/Solar/Sql/Adapter/Sqlite2.php
===================================================================
--- trunk/Solar/Sql/Adapter/Sqlite2.php 2008-06-11 00:29:35 UTC (rev 3214)
+++ trunk/Solar/Sql/Adapter/Sqlite2.php 2008-06-11 13:40:36 UTC (rev 3215)
@@ -48,4 +48,18 @@
return $this->query("DROP TABLE $table");
}
}
+
+ /**
+ *
+ * Drops a sequence.
+ *
+ * @param string $name The sequence name to drop.
+ *
+ * @return void
+ *
+ */
+ protected function _dropSequence($name)
+ {
+ return $this->dropTable($name);
+ }
}
\ No newline at end of file
More information about the Solar-svn
mailing list