From:             antimon at gmail dot com
Operating system: Win32
PHP version:      5.1.2
PHP Bug Type:     MySQLi related
Bug description:  Strange MySQLi Behaviour

Description:
------------
Hi,
I use apache 2.0.55 with php 5.1.2. And this is my simple php source:

$m = mysqli_connect("localhost", "root", "253263", "dictsite");
$st = $m->prepare($sql);

$p = "page ismi";
$st->bind_param("s", $p);
$st->execute();

$st->bind_result($c1, $c2, $c3, $c4, $c5);

while ($st->fetch()) {
print_r($c1);
}

This runs ok. But if i add
$sp->store_result(); after execute call, it causes apache to restart
itself noting this:
"[Thu Mar 30 02:53:15 2006] [notice] Parent: child process exited with
status 0 -- Restarting."

One other issue is the known multiple recordsets returned from stored
procedure queries.

So, i used the latest libmysql from mysql distro, it did not even pushed
any variables to bind_result parameters.

And i used mysqli and libmysql from
"http://dev.mysql.com/downloads/connector/php/"; and eveything works fine.
(http://bugs.mysql.com/bug.php?id=14993 is fixed too)


-- 
Edit bug report at http://bugs.php.net/?id=36919&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=36919&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=36919&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=36919&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=36919&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=36919&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=36919&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=36919&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=36919&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=36919&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=36919&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=36919&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=36919&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=36919&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=36919&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=36919&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=36919&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=36919&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=36919&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=36919&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=36919&r=mysqlcfg

Reply via email to