Bug #17181 Updated: ADO crash

From: Date: Tue, 14 May 2002 07:08:54 +0000
Subject: Bug #17181 Updated: ADO crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7613@lists.php.net to get a copy of this message
ID: 17181 Updated by: mbretter@jawa.at Reported By: mbretter@jawa.at Status: Open Bug Type: COM related Operating System: Windows 2000 Sp2 PHP Version: 4.2.0 New Comment: also on PHP4.1.2 this doesen't work anymore, it seems that the upgrade to MSDAC2.7 caused this crash Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#7613) next »