Bug #17181 Updated: ADO crash

From: Date: Tue, 14 May 2002 06:21:01 +0000
Subject: Bug #17181 Updated: ADO crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7604@lists.php.net to get a copy of this message
 ID:               17181
 Updated by:       mfischer@php.net
 Reported By:      mbretter@jawa.at
 Status:           Open
 Bug Type:         COM related
 Operating System: Windows 2000 Sp2
 PHP Version:      4.2.0
 New Comment:

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


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

[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 (#7604) next »