ID:               36919
 User updated by:  antimon at gmail dot com
 Reported By:      antimon at gmail dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         MySQLi related
 Operating System: Win32
 PHP Version:      5.1.2
 New Comment:

Tried latest win32 snapshot. Same results. BTW, store_result() call
crashes on TEXT fields i think. Not sure.


Previous Comments:
------------------------------------------------------------------------

[2006-03-30 10:22:47] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip



------------------------------------------------------------------------

[2006-03-30 02:00:32] antimon at gmail dot com

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 this bug report at http://bugs.php.net/?id=36919&edit=1

Reply via email to