|
|
Choosing A Webhost: |
RE: Crash in PHP Module: msg#00200db.maxdb
Hi John, This is a bug that will be fixed. Workaround: Use maxdb_stmt_bind_result() immediately after the maxdb_prepare() call. Regards, Thomas Simenec SAP Labs Berlin -----Original Message----- From: John Singleton [mailto:jsinglet@xxxxxxxxxxxxxxxxx] Sent: Donnerstag, 18. November 2004 01:58 To: maxdb Subject: Crash in PHP Module Hi All, I seem to be having a crashing problem with the PHP module for MaxDB. I am using apache 1.3.9 in Windows XP with MaxDB 7.5.00.19, PHP module version 7.5.00.19, and PHP 5.0.2. PHP is loaded as a dll. Here is the code snippet. $link = maxdb_connect("localhost", "DBA", "DBA", "CH10"); if (!$link) { printf("Connect failed: %s\n", maxdb_connect_error()); exit(); } $stmt = maxdb_prepare($link, "SELECT USERNAME FROM USERS WHERE USERNAME=?"); maxdb_stmt_bind_param($stmt, "s", $USERNAME); $USERNAME = "DBA"; maxdb_stmt_bind_result($stmt, $R_USERNAME); /* this is the trouble line */ I have removed and commented out various lines in this code. When I leave in the last line, the crash occurs. Any ideas? JLS -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/maxdb?unsub=thomas.simenec@xxxxxxx -- 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: | AW: INSERT in DBPROC, Zabach, Elke |
|---|---|
| Next by Date: | How Disable Triggers at runtime, Carlos Martínez |
| Previous by Thread: | Re: Crash in PHP Module: More Info, John Singleton |
| Next by Thread: | PHP Module and Stored Procedures, John Singleton |
| 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.
|