From:             [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:      4.3.0
PHP Bug Type:     MySQL related
Bug description:  termination when calling mysql_info()

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 bug report at http://bugs.php.net/?id=21435&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21435&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21435&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21435&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21435&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21435&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21435&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21435&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21435&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21435&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21435&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21435&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21435&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21435&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21435&r=gnused

Reply via email to