[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/common/src/datasources/drivers/postgresql/...
From: |
James Thompson |
Subject: |
gnue/common/src/datasources/drivers/postgresql/... |
Date: |
Fri, 04 Apr 2003 18:06:57 -0500 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Changes by: James Thompson <address@hidden> 03/04/04 18:06:57
Modified files:
common/src/datasources/drivers/postgresql/Base: Driver.py
Log message:
postgresql driver no longer returns -5 length on text fields
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/datasources/drivers/postgresql/Base/Driver.py.diff?tr1=1.30&tr2=1.31&r1=text&r2=text
Patches:
Index: gnue/common/src/datasources/drivers/postgresql/Base/Driver.py
diff -c gnue/common/src/datasources/drivers/postgresql/Base/Driver.py:1.30
gnue/common/src/datasources/drivers/postgresql/Base/Driver.py:1.31
*** gnue/common/src/datasources/drivers/postgresql/Base/Driver.py:1.30 Tue Feb
18 14:34:59 2003
--- gnue/common/src/datasources/drivers/postgresql/Base/Driver.py Fri Apr
4 18:06:57 2003
***************
*** 31,37 ****
import string
from string import lower, join, split
import sys
! from gnue.common.apps import GDebug
from gnue.common.datasources import GDataObjects
from gnue.common.datasources.drivers.DBSIG2.Driver \
import DBSIG_RecordSet, DBSIG_ResultSet, DBSIG_DataObject
--- 31,37 ----
import string
from string import lower, join, split
import sys
! from gnue.common.apps import GDebug, GConfig
from gnue.common.datasources import GDataObjects
from gnue.common.datasources.drivers.DBSIG2.Driver \
import DBSIG_RecordSet, DBSIG_ResultSet, DBSIG_DataObject
***************
*** 280,286 ****
if rs[7] > 0:
attrs['length'] = rs[7]
! else:
attrs['length'] = rs[5] - 4
--- 280,286 ----
if rs[7] > 0:
attrs['length'] = rs[7]
! elif rs[5] != -1: #text field
attrs['length'] = rs[5] - 4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/common/src/datasources/drivers/postgresql/...,
James Thompson <=