summaryrefslogtreecommitdiff
path: root/ext/pdo_dblib/dblib_stmt.c
diff options
context:
space:
mode:
authorFrank M. Kromann <fmk@php.net>2005-01-18 07:17:01 (GMT)
committerFrank M. Kromann <fmk@php.net>2005-01-18 07:17:01 (GMT)
commit25917d58859ac54cbe067fe3e5c20de97e25357c (patch)
tree88f9647dc9fbada591e17224715da7fceb2bc96a /ext/pdo_dblib/dblib_stmt.c
parent14821bb8cf46e3d21bdfb47163655370720213a6 (diff)
downloadphp-25917d58859ac54cbe067fe3e5c20de97e25357c.tar.gz
Make this compile with the generic ntwdblib from Microsoft
Diffstat (limited to 'ext/pdo_dblib/dblib_stmt.c')
-rw-r--r--ext/pdo_dblib/dblib_stmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_dblib/dblib_stmt.c b/ext/pdo_dblib/dblib_stmt.c
index 22e0d66..72d9170 100644
--- a/ext/pdo_dblib/dblib_stmt.c
+++ b/ext/pdo_dblib/dblib_stmt.c
@@ -148,7 +148,7 @@ static int pdo_dblib_stmt_execute(pdo_stmt_t *stmt TSRMLS_DC)
break;
default:
- if (dbwillconvert(S->cols[i].coltype, SYBCHAR)) {
+ if (dbwillconvert(S->cols[i].coltype, SQLCHAR)) {
val->len = 32 + (2 * dbdatlen(H->link, i+1));
val->data = emalloc(val->len);