From:             [EMAIL PROTECTED]
Operating system: Linux 2.2.18
PHP version:      4.0.4pl1
PHP Bug Type:     ODBC related
Bug description:  cannot prepare iODBC statements

$connection = odbc_connect("test", "test", "test");
$query = "select * from tbl_name";
$result = odbc_prepare($connection, $query);

--with-mysql --with-iodbc --with-gd --with-jpeg-dir --with-ming --enable-ftp 

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))

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to