Bug #53194 [Opn->Bgs]: path for dblib_stmt.c

From: Date: Thu, 28 Oct 2010 16:47:46 +0000
Subject: Bug #53194 [Opn->Bgs]: path for dblib_stmt.c
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-155602@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53194&edit=1 ID: 53194 Updated by: felipe@php.net Reported by: mikhail dot v dot gavrilov at gmail dot com Summary: path for dblib_stmt.c -Status: Open +Status: Bogus Type: Bug Package: MSSQL related Operating System: *nix && win PHP Version: 5.3.3 Block user comment: N New Comment: This issue already has been fixed, see bug #52546. Previous Comments: ------------------------------------------------------------------------ [2010-10-28 17:55:54] mikhail dot v dot gavrilov at gmail dot com Description: ------------ I fix crash PHP_PDO_DBLIB when you try get MONEY fields from MSSQL database via FreeTDS data provider. For fixing this issue you must replace 174 line: val->len = spprintf(val->data, 0, "%.4f", money_value); to val->len = spprintf(&val->data, 0, "%.4f", money_value); Please apply my path. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53194&edit=1

« previous php.bugs (#155602) next »