Comment 9 for bug 21995

Revision history for this message
In , Johan Palmqvist (johan-palmqvist) wrote : Re: [php-maint] Bug#329065: php5-sybase: sybase_ct doesn't always return correct results from MS SQL

Adam Conrad wrote:

>severity 329065 important
>thanks
>
>Johan Palmqvist wrote:
>
>
>>Severity: grave
>>Justification: causes non-serious data loss
>>
>>
>
>How does this cause data loss and warrant a grave bug?
>
>
>
PHP code for a test case is attached. The executed stored procedure
returns a string containing a URL. The only modifications to php.ini are
specified below.

php5-mssql (self-compiled):
php.ini: ;extension=sybase_ct.so
php.ini: extension=mssql.so

Result row[0]: http://www.test.org/

php5-sybase:
php.ini: extension=sybase_ct.so
php.ini: ;extension=mssql.so

Result row[0]: 0

Thanks
/ Johan