uri='informi-se://...
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.2.1 (2012-12-04 08:31:43) stable
|
Version 2.2.1 (2012-12-04 08:47:43) stable
|
||||||
|
|||||||
+13
-1
@@ -26,7 +26,7 @@ including:
|
|||||||
- DB2
|
- DB2
|
||||||
- Interbase
|
- Interbase
|
||||||
- Ingres
|
- Ingres
|
||||||
- Informix
|
- Informix (9+ and SE)
|
||||||
- SapDB (experimental)
|
- SapDB (experimental)
|
||||||
- Cubrid (experimental)
|
- Cubrid (experimental)
|
||||||
- CouchDB (experimental)
|
- CouchDB (experimental)
|
||||||
@@ -3534,6 +3534,17 @@ class InformixAdapter(BaseAdapter):
|
|||||||
def integrity_error_class(self):
|
def integrity_error_class(self):
|
||||||
return informixdb.IntegrityError
|
return informixdb.IntegrityError
|
||||||
|
|
||||||
|
class InformixSEAdapter(InformixAdapter):
|
||||||
|
""" work in progress """
|
||||||
|
|
||||||
|
def select_limitby(self, sql_s, sql_f, sql_t, sql_w, sql_o, limitby):
|
||||||
|
return 'SELECT %s %s FROM %s%s%s;' % \
|
||||||
|
(sql_s, sql_f, sql_t, sql_w, sql_o)
|
||||||
|
|
||||||
|
def rowslice(self,rows,minimum=0,maximum=None):
|
||||||
|
if maximum is None:
|
||||||
|
return rows[minimum:]
|
||||||
|
return rows[minimum:maximum]
|
||||||
|
|
||||||
class DB2Adapter(BaseAdapter):
|
class DB2Adapter(BaseAdapter):
|
||||||
drivers = ('pyodbc',)
|
drivers = ('pyodbc',)
|
||||||
@@ -6267,6 +6278,7 @@ ADAPTERS = {
|
|||||||
'db2': DB2Adapter,
|
'db2': DB2Adapter,
|
||||||
'teradata': TeradataAdapter,
|
'teradata': TeradataAdapter,
|
||||||
'informix': InformixAdapter,
|
'informix': InformixAdapter,
|
||||||
|
'informix-se': InformixSEAdapter,
|
||||||
'firebird': FireBirdAdapter,
|
'firebird': FireBirdAdapter,
|
||||||
'firebird_embedded': FireBirdAdapter,
|
'firebird_embedded': FireBirdAdapter,
|
||||||
'ingres': IngresAdapter,
|
'ingres': IngresAdapter,
|
||||||
|
|||||||
Reference in New Issue
Block a user