HDBC-odbc 1.1.4.4 → 1.1.6.0
raw patch · 2 files changed
+10/−3 lines, 2 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- Database/HDBC/ODBC/Connection.hsc +7/−0
- HDBC-odbc.cabal +3/−3
Database/HDBC/ODBC/Connection.hsc view
@@ -61,6 +61,13 @@ >"DSN=hdbctest1" +This, and all other functions that use ODBC directly or indirectly, can raise+SqlErrors just like other HDBC backends. The seErrorMsg field is specified+as a String in HDBC. ODBC specifies this data as a list of strings.+Therefore, this driver uses show on the data from ODBC. For friendly display,+or handling of individual component messages in your code, you can use +read on the seErrorMsg field in a context that expects @[String]@.+ Important note for MySQL users: Unless you are going to use InnoDB tables, you are strongly encouraged to set
HDBC-odbc.cabal view
@@ -1,6 +1,6 @@ Name: HDBC-odbc-Version: 1.1.4.4-Cabal-Version: >=1.2+Version: 1.1.6.0+Cabal-Version: >=1.2.3 Build-type: Simple License: LGPL Maintainer: John Goerzen <jgoerzen@complete.org>@@ -29,7 +29,7 @@ ExistentialQuantification, ForeignFunctionInterface, PatternSignatures- Build-Depends: base, mtl, HDBC>=1.1.0+ Build-Depends: base<4, mtl, HDBC>=1.1.0 GHC-Options: -O2 C-Sources: hdbc-odbc-helper.c if os(mingw32) || os(win32)