From: Felipe Pena Date: Fri, 13 Aug 2010 22:12:37 +0000 (+0000) Subject: - Fixed the fix for bug #52546 X-Git-Tag: php-5.3.4RC1~361 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1019643253d2d65d813358e1bc37ecf5dd365ed;p=php - Fixed the fix for bug #52546 --- diff --git a/ext/pdo_dblib/dblib_stmt.c b/ext/pdo_dblib/dblib_stmt.c index d812e2fb0a..5d49be71e2 100644 --- a/ext/pdo_dblib/dblib_stmt.c +++ b/ext/pdo_dblib/dblib_stmt.c @@ -171,7 +171,7 @@ static int pdo_dblib_stmt_execute(pdo_stmt_t *stmt TSRMLS_DC) case SQLMONEYN: { DBFLT8 money_value; dbconvert(NULL, S->cols[i].coltype, dbdata(H->link, i+1), dbdatlen(H->link, i+1), SQLFLT8, (LPBYTE)&money_value, 8); - val->len = spprintf(val->data, 0, "%.4f", money_value); + val->len = spprintf(&val->data, 0, "%.4f", money_value); } break; default: