Bug #20210 | Connector/PHP stored procedure query error | ||
---|---|---|---|
Submitted: | 1 Jun 2006 18:46 | Modified: | 1 Jul 2006 19:29 |
Reporter: | BattleMan BattleClan | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | MySQL 5.0.21 + PHP 5.1.4 | OS: | Windows (win XP) |
Assigned to: | CPU Architecture: | Any |
[1 Jun 2006 18:46]
BattleMan BattleClan
[1 Jun 2006 18:55]
BattleMan BattleClan
i wanted to note that i have tried another option listed below. this time i used multi_query calls. the results are.... for code >>> $MySQL = new mysqli( "localhost" , "root" , "" ); $MySQL->real_query( "use Budget" ); $MySQL->multi_query( "call a()" ); $r = $MySQL->store_result( ); $r->free( ); if ($MySQL->error ) echo $MySQL->error . "\n"; else echo "ok on #1\n"; $MySQL->multi_query( "call a()" ); $r = $MySQL->store_result( ); $r->free( ); if ($MySQL->error ) echo $MySQL->error . "\n"; else echo "ok on #2\n"; the output >>> D:\Program Files\php>php trial.php ok on #1 PHP Fatal error: Call to a member function free() on a non-object in D:\Program Files\php\trial.php on line 19 Fatal error: Call to a member function free() on a non-object in D:\Program File s\php\trial.php on line 19 D:\Program Files\php>php trial.php ok on #1 ok on #2 D:\Program Files\php>php trial.php ok on #1 ok on #2
[1 Jun 2006 19:16]
BattleMan BattleClan
wanted to add that this bug is probably the same as #15853 only i believe that the time elapsed, the diffrent version and the extra checks i've done [being it Connector/J and multi_query] justify opening a new bug report.
[1 Jun 2006 19:29]
Valeriy Kravchuk
Thank you for a problem report. Your initial description looks similar to a (verified) bug #15752. Please, check.
[1 Jul 2006 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".