#21435 [Opn->Fbk]: termination when calling mysql_info()
| From: | derick@php.net | Date: | Sun, 05 Jan 2003 19:11:11 +0000 |
| Subject: | #21435 [Opn->Fbk]: termination when calling mysql_info() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29124@lists.php.net to get a copy of this message | ||
ID: 21435
Updated by: derick@php.net
Reported By: drews@laborox.com
-Status: Open
+Status: Feedback
Bug Type: MySQL related
Operating System: Windows 2000
PHP Version: 4.3.0
New Comment:
As you have MSVC, would you be able to provide a stack trace (which you
should have on the screen when you see those assembler code lines)?
Derick
Previous Comments:
------------------------------------------------------------------------
[2003-01-05 13:09:21] drews@laborox.com
when calling mysql_info() apache 1.3.24 terminates with an error: "The
instruction at "0x100c1588" referenced memory at "0x0000000a". the
memory could not be "read" [ok/debug]. M$ debug gives
"100C1588 cmp byte ptr [eax+8],7"
script when calling:
<?php
$vk = mysql_pconnect($host, $user, $pass)
or die ();
mysql_select_db($database, $vk)
or die ();
$sql = "select * from user";
$result = mysql_query($sql, $vk);
if($result)
{
while ($row = mysql_fetch_array($result))
{
echo $row[0];
}
}
echo mysql_info($vk);
?>
regards,
-Wolfgang
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21435&edit=1