Bug #17181 Updated: ADO crash

From: Date: Wed, 15 May 2002 07:28:09 +0000
Subject: Bug #17181 Updated: ADO crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7722@lists.php.net to get a copy of this message
 ID:               17181
 Updated by:       mbretter@jawa.at
 Reported By:      mbretter@jawa.at
 Status:           Feedback
 Bug Type:         COM related
 Operating System: Windows 2000 Sp2
 PHP Version:      4.2.0
 New Comment:

I tested it with MSACCESS and it works, but I will try to test it with
php4.2.1 and MDAC < 2.7


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

[2002-05-14 03:52:01] mfischer@php.net

Can you test 4.2.1 with MSDAC < 2.7 ?

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

[2002-05-14 03:08:53] mbretter@jawa.at

also on PHP4.1.2 this doesen't work anymore, it seems that the upgrade
to MSDAC2.7 caused this crash

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

[2002-05-14 02:41:15] mbretter@jawa.at

Sorry,
but I have not time to debug this, but with PHP4.1.2 this worked,

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

[2002-05-14 02:21:01] mfischer@php.net

Our resources regarding COM and win32 seem to be very low. Are you
create a debug build yourself and start debugging it?

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

[2002-05-13 10:02:11] mbretter@jawa.at

Hi,

this script lets php crash:

$conn = new COM( "ADODB.Connection" );
$conn->Provider = 'SQLOLEDB';
$conn->Open( "Server=wincubix;Uid=oebb;Pwd=oebb;Database=cubix" );
$conn->Execute('SET DATEFORMAT ymd');
$rs = new COM( "ADODB.Recordset" );
$rs->ActiveConnection = $conn;
$rs->Open("SELECT DISTINCT * FROM news WHERE gueltig_von <=
'2002-05-13'");

changing the script like this will prevent the AV
//$rs->ActiveConnection = $conn;
$rs->Open("SELECT DISTINCT * FROM news WHERE gueltig_von <=
'2002-05-13'", $conn);

I'm using the latest MSDAC (2.7) and the latest snapshot of php


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


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



Thread (7 messages)

« previous php.bugs (#7722) next »