Mombu the Php Forum sponsored links

Go Back   Mombu the Php Forum > Php > #39497 : Re 34096
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 16th July 13:56
php-bugs
External User
 
Posts: 1
Default #39497 : Re 34096


ID: 39497
User updated by: charlesk at netgaintechnology dot com
Reported By: charlesk at netgaintechnology dot com
Status: Open
Bug Type: MSSQL related
Operating System: Windows 2003 Standard
PHP Version: 4.4.4
New Comment:

I am dissappointed, I paid software would not go unanswered for 4
months.


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

[2006-11-13 14:26:38] charlesk at netgaintechnology dot com

Description:
------------
php_mssql.dll from version 4.3.1 works without a problem.
php_mssql.dll from version 4.4.4 does not. This is a change in PHP not
in Microsoft. How is this a Microsoft problem? What changed in this
DLL to make it not work? My environment is set up that if I put the new
version of the DLL in place, it starts throwing spaces everywhere. If I
put the 4.3.1 version dll back it stops throwing spaces everywhere.

Reproduce code:
---------------
Copy the new php_mssql.dll in place

Expected result:
----------------
Nulls and empty strings returned as nulls and empty strings.

Actual result:
--------------
nulls as nulls, Empty strings as a single space


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


--
Edit this bug report at http://bugs.php.net/?id=39497&edit=1
  Reply With Quote


  sponsored links


2 16th July 13:57
External User
 
Posts: 1
Default #39497 : Re 34096


ID: 39497
Updated by: tony2001@php.net
Reported By: charlesk at netgaintechnology dot com
-Status: Open
+Status: Assigned
Bug Type: MSSQL related
Operating System: Windows 2003 Standard
PHP Version: 4.4.4
-Assigned To:
+Assigned To: fmk


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

[2007-04-04 13:45:03] charlesk at netgaintechnology dot com

I am dissappointed, I paid software would not go unanswered for 4
months.

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

[2006-11-13 14:26:38] charlesk at netgaintechnology dot com

Description:
------------
php_mssql.dll from version 4.3.1 works without a problem.
php_mssql.dll from version 4.4.4 does not. This is a change in PHP not
in Microsoft. How is this a Microsoft problem? What changed in this
DLL to make it not work? My environment is set up that if I put the new
version of the DLL in place, it starts throwing spaces everywhere. If I
put the 4.3.1 version dll back it stops throwing spaces everywhere.

Reproduce code:
---------------
Copy the new php_mssql.dll in place

Expected result:
----------------
Nulls and empty strings returned as nulls and empty strings.

Actual result:
--------------
nulls as nulls, Empty strings as a single space


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


--
Edit this bug report at http://bugs.php.net/?id=39497&edit=1
  Reply With Quote
3 16th July 13:57
External User
 
Posts: 1
Default #39497 : Re 34096


ID: 39497
Updated by: fmk@php.net
Reported By: charlesk at netgaintechnology dot com
-Status: Assigned
+Status: Wont fix
Bug Type: MSSQL related
Operating System: Windows 2003 Standard
PHP Version: 4.4.4
Assigned To: fmk
New Comment:

There is a bug in the MSSQL library used for this extension.

In older versions we used to right trim the content of string values,
but that gives problems when the value actualy has spaces at the end of
thie string. It was decided to return the data as thery are provided by
the library.

A fix for this problem is to use the php_dblib.dll version of the
extension. This is created with the FreeTDS library (no microsoft
components needed). Unfortunately this is only available in PHP 5.x
versions.


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

[2007-04-04 13:45:03] charlesk at netgaintechnology dot com

I am dissappointed, I paid software would not go unanswered for 4
months.

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

[2006-11-13 14:26:38] charlesk at netgaintechnology dot com

Description:
------------
php_mssql.dll from version 4.3.1 works without a problem.
php_mssql.dll from version 4.4.4 does not. This is a change in PHP not
in Microsoft. How is this a Microsoft problem? What changed in this
DLL to make it not work? My environment is set up that if I put the new
version of the DLL in place, it starts throwing spaces everywhere. If I
put the 4.3.1 version dll back it stops throwing spaces everywhere.

Reproduce code:
---------------
Copy the new php_mssql.dll in place

Expected result:
----------------
Nulls and empty strings returned as nulls and empty strings.

Actual result:
--------------
nulls as nulls, Empty strings as a single space


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


--
Edit this bug report at http://bugs.php.net/?id=39497&edit=1
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666