Comment 13 for bug 21995

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 19 Sep 2005 14:07:11 +0200
From: Johan Palmqvist <email address hidden>
To: <email address hidden>
Subject: Re: [php-maint] Bug#329065: php5-sybase: sybase_ct doesn't always
 return correct results from MS SQL

--------------030702050507080506010800
Content-Type: multipart/alternative;
 boundary="------------070107030106000406060702"

--------------070107030106000406060702
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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

--------------070107030106000406060702
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Adam Conrad wrote:
<blockquote cite="mid432E8A9A.3080402@0c3.net" type="cite">
  <pre wrap="">severity 329065 important
thanks

Johan Palmqvist wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Severity: grave
Justification: causes non-serious data loss
    </pre>
  </blockquote>
  <pre wrap=""><!---->
How does this cause data loss and warrant a grave bug?

  </pre>
</blockquote>
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.<br>
<br>
<br>
php5-mssql (self-compiled):<br>
php.ini: ;extension=sybase_ct.so<br>
php.ini: extension=mssql.so<br>
<br>
Result row[0]: <a class="moz-txt-link-freetext" href="http://www.test.org/">http://www.test.org/</a><br>
<br>
<br>
php5-sybase:<br>
php.ini: extension=sybase_ct.so<br>
php.ini: ;extension=mssql.so<br>
<br>
Result row[0]: 0<br>
<br>
<br>
Thanks<br>
/ Johan<br>
<br>
<br>
</body>
</html>

--------------070107030106000406060702--

--------------030702050507080506010800
Content-Type: application/x-bzip;
 name="test.php.bz2"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="test.php.bz2"

QlpoOTFBWSZTWYZsalAAAEvfgEAQVORwX+8E30q///7qMAENtqw0SnoTah6mh6gNA00AaZME
aDINEEnkbVGQAAA0AAAANNRTZTJo9CAaBoAAGgAaIWVdKCaMxistE2SWLBjyYYJox7p+fE/q
m7kPXQpBukuFyMTqZL4IhdBBE/LMufo2epCQLj5JJJCwtRVMtcMD0/NNpLWkcDllQKCyTmGL
yjNNBgcYBg5kAFGdc7CifJtzHJP3cldc1KteYygkS3OJ5+hNK6CYVM3FwBGRiGilPgarx1GD
eEEYEOV4gKZ4AEiO9/AQz056g5K6VBRGHa4FvOIr2PoSLzMhZqEvgMsSDMyLKs0Z0iUPFFyv
hTvqtakfS2KSFDTThKECo30K1Byi2IEEVlsR4krbKGE0iUIhfInk5pIozVE9KkgkDnlTjgj2
fxdyRThQkIZsalA=
--------------030702050507080506010800--