Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Database/HDBC/ODBC/Connection.hsc
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ mkConn args iconn = withDbcOrDie iconn $ \cconn ->
clientname <- peekCStringLen (pbuf, fromIntegral len)

sqlGetInfo cconn #{const SQL_TXN_CAPABLE} (castPtr psqlusmallint)
0 nullPtr
#{size SQLUSMALLINT} nullPtr
>>= checkError "sqlGetInfo SQL_TXN_CAPABLE" (DbcHandle cconn)
txninfo <- ((peek psqlusmallint)::IO (#{type SQLUSMALLINT}))
let txnsupport = txninfo /= #{const SQL_TC_NONE}
Expand Down