summaryrefslogtreecommitdiff
path: root/ext/oci8/oci8_dtrace.d
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2013-09-05 18:18:29 -0700
committerChristopher Jones <sixd@php.net>2013-09-05 18:18:29 -0700
commit4b778faa8014947390d55dbc71e15ae0d7aca53a (patch)
tree64b18f29a5ae3362f790be7bd19c745ffb2a0f2b /ext/oci8/oci8_dtrace.d
parent6ece5503942a1d8c4a78504161f9466e9e14fed2 (diff)
downloadphp-git-4b778faa8014947390d55dbc71e15ae0d7aca53a.tar.gz
Make oci_set_*($connection,...) errors retrievable via oci_error($connection).
Improve some error handling to produce error text on some rare edge cases. Disambiguate the Oracle library function call return status values from ORA error numbers. Review and unify error data types.
Diffstat (limited to 'ext/oci8/oci8_dtrace.d')
-rw-r--r--ext/oci8/oci8_dtrace.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/oci8/oci8_dtrace.d b/ext/oci8/oci8_dtrace.d
index d6982f030c..15b4a96263 100644
--- a/ext/oci8/oci8_dtrace.d
+++ b/ext/oci8/oci8_dtrace.d
@@ -19,7 +19,7 @@
provider php {
probe oci8__connect__entry(char *username, char *dbname, char *charset, long session_mode, int persistent, int exclusive);
probe oci8__connect__return(void *connection);
- probe oci8__check__connection(void *connection, int is_open, int errcode, unsigned long serverstatus);
+ probe oci8__check__connection(void *connection, int is_open, long errcode, unsigned long serverstatus);
probe oci8__sqltext(char *sql);
probe oci8__error(int status, long errcode);
probe oci8__execute__mode(unsigned int mode);