mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-06 22:39:55 +08:00
get sqlite working on machines that also have pgsql
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user