ID:               35158
 Updated by:       [EMAIL PROTECTED]
 Reported By:      vladik_g at mail dot ru
-Status:           Open
+Status:           Assigned
 Bug Type:         MSSQL related
 Operating System: Linux RedHat 9
 PHP Version:      5CVS-2005-11-08 (snap)
-Assigned To:      
+Assigned To:      fmk
 New Comment:

Frank, check this out please.


Previous Comments:
------------------------------------------------------------------------

[2005-11-09 11:14:28] vladik_g at mail dot ru

Nothing more.
With php 4.4 on same machine with same other soft all works ok.

------------------------------------------------------------------------

[2005-11-08 20:29:45] [EMAIL PROTECTED]

What else have changed for you except for PHP version?

------------------------------------------------------------------------

[2005-11-08 20:09:47] vladik_g at mail dot ru

Description:
------------
binding input parameters is not really working.

This mechanism was working well in 4-th family of php.

Reproduce code:
---------------
php code here:

mssql_bind($Proc,'@Param1',$Param1,SQLVARCHAR,false,false,30);
mssql_execute($Proc,FALSE) ||
  print(mssql_get_last_message());

MSSQL code here:

CREATE PROCEDURE [dbo].[test]
(
        @Param1              VARCHAR(30)
)

AS
RETURN 0
GO


Expected result:
----------------
successfull execution

Actual result:
--------------
Procedure 'test' expects parameter '@Param1', which was not supplied.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35158&edit=1

Reply via email to