#19734 [Fbk->NoF]: PHP crashes on the REAL data type in a MSSQL query
| From: | php-bugs at lists dot php dot net | Date: | Tue, 31 Dec 2002 07:00:05 +0000 |
| Subject: | #19734 [Fbk->NoF]: PHP crashes on the REAL data type in a MSSQL query | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-28818@lists.php.net to get a copy of this message | ||
ID: 19734
Updated by: php-bugs@lists.php.net
Reported By: andrew@fpef.co.za
-Status: Feedback
+Status: No Feedback
Bug Type: MSSQL related
Operating System: Windows XP
PHP Version: 4.2.3
New Comment:
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2002-12-08 10:33:49] sniper@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
------------------------------------------------------------------------
[2002-10-03 13:08:36] andrew@fpef.co.za
Had a further look into the problem and it seems to have to do with the
'REAL' data type. When i changed the data type from REAL to FLOAT in
the Microsoft SQL server 7.0 database things worked again...
The problem comes with PHP.EXE crashing when it encounters this type of
data. Don't know if the REAL type is dissallowed. Tried to provide as
much information as i could give this time....
------------------------------------------------------------------------
[2002-10-03 07:50:26] kalowsky@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2002-10-03 06:34:18] andrew@fpef.co.za
I have a table of several thousand rows in a MSSQL database called
amfull. Tried to query this:
SELECT Distance FROM journeys WHERE VehicleBoxNo='44000601'
PHP bombed out on me. Got the XP error "PHP.EXE has generated errors"
So i played around a bit and discovered that if I did the following it
prevented PHP from bombing out.
SELECT TOP 100 Distance FROM journeys WHERE VehicleBoxNo='44000601'
Unfortunately all this does is limit the number of rows to 100 which,
in some cases, is very limiting.
Any suggestions?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19734&edit=1