Closed tarkin000 closed 8 years ago
update: It has something to do with the cursor. Is the way I am using the cursor with the 1329 handler generating some huge result set?
The following replacement procedure works as expected:
drop procedure if exists pppp;
delimiter //
create procedure pppp(i int)
begin
declare result varchar(4) default 'fail';
declare message varchar(64) default 'hello, world';
declare datum varchar(36) default null;
declare exit handler for 1329
begin
set message = 'got 1329';
select result,message,datum;
end;
select bar into datum from test where foo = i;
select result,message,datum;
end //
delimiter ;
That looks like an upstream problem. Did you take a look at https://bugs.php.net for similar issues?
Yes, I have. The only thing similar is https://bugs.php.net/bug.php?id=72413 I will report this upstream, thanks!
Debian Wheezy i686 (up to date as of 8/2016) PHP 5.6.24-1~dotdeb+7.1 (cli) (built: Jul 22 2016 00:07:27) php-cgi & php-cli
/etc/apt/sources/list.d : nodesource.list
php seqfaults when fetching the result of prepared statement that invokes a stored procedure. To reproduce: db.sql:
test.php:
test.gdb.log:
This is issue was present in 5.4.45-0+deb7u4, I had upgraded to DotDeb hoping to fix this issue. Should I report upstream?
Thanks for your time, Steve