summaryrefslogtreecommitdiff
path: root/ext/pdo_dblib/dblib_stmt.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2005-01-18 02:42:52 (GMT)
committerWez Furlong <wez@php.net>2005-01-18 02:42:52 (GMT)
commit505fbb196661e1627717c9b60b861371f860ae44 (patch)
tree458aeb001920061fbed387ca83fbfa887a1e9a33 /ext/pdo_dblib/dblib_stmt.c
parent5089dc049ad968ef4036ee391e1eda05fb585254 (diff)
downloadphp-505fbb196661e1627717c9b60b861371f860ae44.tar.gz
nice and fluffy error handling
Diffstat (limited to 'ext/pdo_dblib/dblib_stmt.c')
-rw-r--r--ext/pdo_dblib/dblib_stmt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pdo_dblib/dblib_stmt.c b/ext/pdo_dblib/dblib_stmt.c
index e552c71..22e0d66 100644
--- a/ext/pdo_dblib/dblib_stmt.c
+++ b/ext/pdo_dblib/dblib_stmt.c
@@ -73,6 +73,8 @@ static int pdo_dblib_stmt_execute(pdo_stmt_t *stmt TSRMLS_DC)
int i, j;
int arows;
unsigned int size;
+
+ dbsetuserdata(H->link, &S->err);
if (S->rows) {
/* clean them up */