get sqlite working on machines that also have pgsql

This commit is contained in:
Greg Landrum
2007-05-12 05:36:34 +00:00
parent 1f2aff8a3b
commit 4eecdaf3cf
2 changed files with 17 additions and 12 deletions

View File

@@ -100,6 +100,8 @@ def GetColumnInfoFromCursor(cursor):
typeStr='float'
elif cType in sqlBinTypes:
typeStr='binary'
elif RDConfig.useSqlLite:
typeStr='string'
else:
sys.stderr.write('odd type in col %s: %s\n'%(cName,str(cType)))
results.append((cName,typeStr))