[erlang-patches] PATCH: ODBC application discarding sqlstate in get_diagnos function

Juhani Ränkimies <>
Sun Oct 11 09:40:10 CEST 2009


On Sat, Oct 10, 2009 at 7:45 PM, Andrew Thompson <> wrote:

>>
> If it doesn't, I can try to resurrect my windows build setup and do some
> investigating. What behaviour are you seeing?
>

Sometimes when an update/insert/delete is successfully executed in the
db, I get {error,"No SQL-driver information available."}.

My assumption (with no factual support) is that odbc app gets confused
if the db sends additional information (SQLSTATE?) about the execution
of the statement, like nulls ignored by aggregate functions or info
about type conversions that were made.

-juhani


More information about the erlang-patches mailing list