Bug #10403 Updated: cannot prepare iODBC statements

From: Date: Thu, 24 May 2001 13:01:42 +0000
Subject: Bug #10403 Updated: cannot prepare iODBC statements
Groups: php.dev 
Request: Send a blank email to php-dev+get-56609@lists.php.net to get a copy of this message
ID: 10403 Updated by: kalowsky Reported By: tleigh@progressivemouse.com Old-Status: Feedback Status: Closed Bug Type: ODBC related Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: no feedback from user. considered fixed in cvs Previous Comments: --------------------------------------------------------------------------- [2001-05-01 17:00:52] kalowsky@php.net marking as feedback after ahill's comment. --------------------------------------------------------------------------- [2001-04-19 16:29:02] ahill@php.net Please verify that you have tried other drivers, or create a ODBC trace (DebugFile=file.out in the odbc.ini file) to view the ODBC calls. The driver is most likely segfaulting here, not iODBC. --------------------------------------------------------------------------- [2001-04-19 11:17:44] tleigh@progressivemouse.com Script: <? $connection = odbc_connect("test", "test", "test"); $query = "select * from tbl_name"; $result = odbc_prepare($connection, $query); odbc_close($connection); ?> Modules: --with-mysql --with-iodbc --with-gd --with-jpeg-dir --with-ming --enable-ftp --enable-sockets gdb backtrace: X-Powered-By: PHP/4.0.4pl1 Content-type: text/html Program recieved signal SIGSEGV, Segmentation fault. 0x402a06f1 in my_SQLPrepare (hstmt=0x81ab4c0, szSqlStr=0x817e094 "select * from table_name", cSqlStr=-3) at prepare.c:167 167 if (use_mb(charset_info)) --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10403&edit=2

« previous php.dev (#56609) next »