# [PATCH] pdo_odbc: fix pdo_odbc_error's use of SQLGetDiagRec()

- Thread: https://externals.io/message/61410
- Original archive: https://news-web.php.net/php.internals/61410
- Started by Joe Orton on 2012-07-18T15:48:07+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #61410 — Joe Orton — 2012-07-18T15:48:07+00:00

URL: https://externals.io/message/61410#61410

The "state" parameter passed to SQLGetDiagRec() needs to be six bytes 
not 5; the attached patch fixes this, from Martin Osvald.

---

## #61421 — Christopher Jones — 2012-07-18T17:12:18+00:00

URL: https://externals.io/message/61410#61421 · In reply to: #61410

> The "state" parameter passed to SQLGetDiagRec() needs to be six bytes
> not 5; the attached patch fixes this, from Martin Osvald.
>
>
>

Hi Joe,

Is there any chance you can log this in https://bugs.php.net/
and/or submit a pull request at https://github.com/php/php-src ?

Chris

-- 
christopher.jones@oracle.com
http://twitter.com/#!/ghrd

---

## #63276 — Remi Collet — 2012-10-08T09:52:53+00:00

URL: https://externals.io/message/61410#63276 · In reply to: #61421

> Is there any chance you can log this in https://bugs.php.net/

See https://bugs.php.net/bug.php?id=63235

Remi.
