Hello, Inoue-san
cc: Hong
I confirmed the attached patch fixes this bug. Could you review and commit it?
I corrected relevant SQLSTATE values, referring to the following page for ODBC v2.
SQLSTATE Mappings
https://msdn.microsoft.com/en-us/library/ms712451(v=vs.85).aspx
Regards
Takayuki Tsunakawa