#21328 [Opn->Csd]: return values from stored procedures
| From: | fmk@php.net | Date: | Thu, 09 Jan 2003 18:10:18 +0000 |
| Subject: | #21328 [Opn->Csd]: return values from stored procedures | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29599@lists.php.net to get a copy of this message | ||
ID: 21328
Updated by: fmk@php.net
Reported By: pvy@novosoft.ru
-Status: Open
+Status: Closed
Bug Type: MSSQL related
Operating System: windows 2000/sp3
PHP Version: 4.3.0
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-01-07 04:45:25] hwulampe@gmx.de
Hy!
I have the same Probleme with Windows 2000 Server and MSSQL 7.0 and the
latest snapshot is no solution :-)
Is there a Bug-Fix in sight?
sincerely yours,
Henning Lampe
Bremen
Germany
------------------------------------------------------------------------
[2003-01-02 00:46:35] pvy@novosoft.ru
Of course, I use win32 version.
------------------------------------------------------------------------
[2003-01-02 00:41:02] pvy@novosoft.ru
Anyway, with CVS version of PHP I got 10 instead 12345
------------------------------------------------------------------------
[2003-01-02 00:32:00] derick@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2003-01-02 00:23:20] pvy@novosoft.ru
Hello!
Happy new year!
I have next MSSQL procedure:
create procedure test1
as begin
return 12345
end
and have next test script:
<?
mssql_connect($server,$user,$password);
mssql_select_db($db);
$a=10;
$s=mssql_init("test1");
mssql_bind($s,'RETVAL',&$a,SQLINT4);
mssql_execute($s);
echo $a;
?>
in PHP-4.2.3 I got 12345 as output in $a
in PHP-4.3.0 I got 10 as output in $a
Congratulations, MSSSQL working with Stored procedures is fully broken.
or documentation missmath with 4.3.0?
Regards,
vladimir,
Novosibirsk,
Russia.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21328&edit=1