ID:               17181
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 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] [EMAIL PROTECTED]

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

Reply via email to