Author: phd
Date: 2007-03-03 04:02:11 -0700 (Sat, 03 Mar 2007)
New Revision: 2390
Modified:
SQLObject/branches/0.8/docs/News.txt
SQLObject/branches/0.8/sqlobject/firebird/firebirdconnection.py
SQLObject/branches/0.8/sqlobject/maxdb/maxdbconnection.py
Log:
Fixed return value - it must an empty list, not None.
Modified: SQLObject/branches/0.8/docs/News.txt
===================================================================
--- SQLObject/branches/0.8/docs/News.txt 2007-03-03 10:46:45 UTC (rev 2389)
+++ SQLObject/branches/0.8/docs/News.txt 2007-03-03 11:02:11 UTC (rev 2390)
@@ -124,6 +124,8 @@
* ID columns are reverted back from INT UNSIGNED to INT for MySQL to be in
accord with FOREIGN KEYs.
+* Fixed return value from Firebird/MaxdbConnection.createTable().
+
SQLObject 0.7.4
===============
Modified: SQLObject/branches/0.8/sqlobject/firebird/firebirdconnection.py
===================================================================
--- SQLObject/branches/0.8/sqlobject/firebird/firebirdconnection.py 2007-03-03 10:46:45 UTC (rev 2389)
+++ SQLObject/branches/0.8/sqlobject/firebird/firebirdconnection.py 2007-03-03 11:02:11 UTC (rev 2390)
@@ -127,6 +127,7 @@
self.query('CREATE TABLE %s (\n%s\n)' % \
(soClass.sqlmeta.table, self.createColumns(soClass)))
self.query("CREATE GENERATOR GEN_%s" % soClass.sqlmeta.table)
+ return []
def createReferenceConstraint(self, soClass, col):
return None
Modified: SQLObject/branches/0.8/sqlobject/maxdb/maxdbconnection.py
===================================================================
--- SQLObject/branches/0.8/sqlobject/maxdb/maxdbconnection.py 2007-03-03 10:46:45 UTC (rev 2389)
+++ SQLObject/branches/0.8/sqlobject/maxdb/maxdbconnection.py 2007-03-03 11:02:11 UTC (rev 2390)
@@ -168,6 +168,7 @@
(soClass.sqlmeta.table, self.createColumns(soClass)))
self.query("CREATE SEQUENCE %s"
% self.createSequenceName(soClass.sqlmeta.table))
+ return []
def createReferenceConstraint(self, soClass, col):
return col.maxdbCreateReferenceConstraint()
|