author | Florian Forster <octo@noris.net> | |
Wed, 3 Mar 2010 13:01:30 +0000 (14:01 +0100) | ||
committer | Florian Forster <octo@noris.net> | |
Wed, 3 Mar 2010 13:01:30 +0000 (14:01 +0100) | ||
commit | 2d0c4c77126d75a18bd4fff582a45f7fa313f845 | |
tree | dcde40e201c9cf0fad00621bd90e18680f3c1948 | tree | snapshot |
parent | f8cd589210d6eaa2819cf15637fdd04323e272a1 | commit | diff |
oracle plugin: Fix semantics of OCIAttrGet.
Apparently it returns success if it could fetch the parameter value and
doesn't interpret the value itself. So returning NULL when querying for
OCI_ATTR_SERVER_STATUS does not result in an error. Handle this as a
lost connection.
Thanks to Sven for pointing this out :)
Apparently it returns success if it could fetch the parameter value and
doesn't interpret the value itself. So returning NULL when querying for
OCI_ATTR_SERVER_STATUS does not result in an error. Handle this as a
lost connection.
Thanks to Sven for pointing this out :)
src/oracle.c | diff | blob | history |