packages feed

mysql-simple 0.4.3 → 0.4.4

raw patch · 4 files changed

+12/−3 lines, 4 files

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.4.4++* Report table name and database in the UnexpectedNull case of ResultError, using the previously empty errMessage field+ ## 0.4.3  * Use Data.Time.Format to parse TimeOfDay results properly (missing in https://github.com/paul-rouse/mysql-simple/pull/37).
Database/MySQL/Simple/Result.hs view
@@ -222,7 +222,12 @@     | otherwise = incompatible f (typeOf (cvt undefined)) "types incompatible" doConvert f _ cvt _ = throw $ UnexpectedNull (show (fieldType f))                               (show (typeOf (cvt undefined)))-                              (B8.unpack (fieldName f)) ""+                              (B8.unpack (fieldName f))+                              ("unexpected null in table "+                               ++ B8.unpack (fieldTable f)+                               ++ " of database "+                               ++ B8.unpack (fieldDB f)+                              )  incompatible :: Field -> TypeRep -> String -> a incompatible f r = throw . Incompatible (show (fieldType f))
mysql-simple.cabal view
@@ -1,5 +1,5 @@ name:           mysql-simple-version:        0.4.3+version:        0.4.4 homepage:       https://github.com/paul-rouse/mysql-simple bug-reports:    https://github.com/paul-rouse/mysql-simple/issues synopsis:       A mid-level MySQL client library.
stack.yaml view
@@ -4,4 +4,4 @@ packages: - '.' extra-deps: []-resolver: lts-8.24+resolver: lts-9.9