|
|
| <prev next> |
Choosing A Webhost: |
php module crash (maxdb-php-source-7_5_00_19.tgz): msg#00282db.maxdb
Hi, Using this code: <?php $link = maxdb_connect("localhost", "DB", "user", "pass"); /* check connection */ if (maxdb_connect_errno()) { printf("Connect failed: %s\n", maxdb_connect_error()); exit(); } $query = "SELECT * from Authors"; if ($result = maxdb_query($link, $query)) { /* Get field information for column 'SurfaceArea' */ $finfo = maxdb_fetch_field_direct($result, 0); printf("Name: %s\n", $finfo->name); printf("max. Len: %d\n", $finfo->max_length); printf("Type: %d\n", $finfo->type); maxdb_free_result($result); } /* close connection */ maxdb_close($link); This code generates a Segmentation fault (using PHP 4.3.9). This ist the Backtrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 8192 (LWP 21859)] 0x403953f3 in IFR_String::convertInto () from /opt/sdb/programs/lib/libSQLDBC_C.so (gdb) bt #0 0x403953f3 in IFR_String::convertInto () from /opt/sdb/programs/lib/libSQLDBC_C.so #1 0x402da3a2 in IFRConversion_Converter::getName () from /opt/sdb/programs/lib/libSQLDBC_C.so #2 0x402a73f8 in SQLDBC::SQLDBC_ResultSetMetaData::getColumnName () from /opt/sdb/programs/lib/libSQLDBC_C.so #3 0x402a2459 in SQLDBC_ResultSetMetaData_getColumnName () from /opt/sdb/programs/lib/libSQLDBC_C.so #4 0x4021565a in php_maxdb_get_field_info (ht=2, return_value=0x81dcf4c, this_ptr=0x0, return_value_used=1, result=0x81dca1c, index=0, colname=0xbffea010 "P", collen=0xbffea00c, cbLen=256, coltype=0xbffea008, colprec=0xbffea004) at /tmp/php-4.3.9/ext/maxdb/php_maxdb.c:710 Jürgen ------------------------------------------- Cyperfection - agentur für neue medien gmbh Jürgen Hötzel mailto:hoetzel@xxxxxxxxxxxxxxx Karl-Kraemer-Str. 4 - 67061 Ludwigshafen fon: 0621/587104-0 - fax: 0621/587104-90 http://www.cyperfection.de/ Anfahrt - http://www.cyperfection.de/Anfahrt/ <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/maxdb?unsub=gcdm-maxdb@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: HSS: Try to get a HSSNODE online, |
|---|---|
| Previous by Thread: | Again Hi,, |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|