Bug #26650 | Can't CREATE TEMPORARY TABLE in iterations in a stored procedure | ||
---|---|---|---|
Submitted: | 26 Feb 2007 23:10 | Modified: | 4 Jun 2007 21:48 |
Reporter: | William Chiquito | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: General | Severity: | S2 (Serious) |
Version: | 5.1 BK, 5.2-falcon | OS: | Linux (Linux, Windows) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
Tags: | CREATE TABLE |
[26 Feb 2007 23:10]
William Chiquito
[27 Feb 2007 8:33]
Sveta Smirnova
Thank you for the report. I can not repeat it with current 5.0 development sources, but can with 5.1 and 5.2-falcon development sources.
[27 Feb 2007 12:56]
William Chiquito
I could repeat it with 5.0.26-community-nt, 5.0.27-community-max and 5.0.33-community-max
[4 Jun 2007 21:48]
Konstantin Osipov
Hello, I can't repeat it with the latest sources: mysql> CALL bug(1); +------+-------+ | myid | name | +------+-------+ | 1 | Kabul | +------+-------+ 1 row in set (0.36 sec) Query OK, 0 rows affected, 1 warning (0.36 sec) mysql> CALL bug(1); +------+-------+ | myid | name | +------+-------+ | 1 | Kabul | +------+-------+ 1 row in set (0.05 sec) Query OK, 0 rows affected (0.06 sec) mysql> CALL bug(1); +------+-------+ | myid | name | +------+-------+ | 1 | Kabul | +------+-------+ 1 row in set (0.02 sec) Query OK, 0 rows affected (0.03 sec) mysql> select version(); +---------------------------+ | version() | +---------------------------+ | 5.0.44-valgrind-max-debug | +---------------------------+ 1 row in set (0.01 sec) mysql> CALL bug(1); ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect... Connection id: 1 Current database: world +------+-------+ | myid | name | +------+-------+ | 1 | Kabul | +------+-------+ 1 row in set (0.08 sec) Query OK, 0 rows affected, 1 warning (0.08 sec) mysql> CALL bug(1); +------+-------+ | myid | name | +------+-------+ | 1 | Kabul | +------+-------+ 1 row in set (0.00 sec) Query OK, 0 rows affected (0.00 sec) mysql> CALL bug(1); +------+-------+ | myid | name | +------+-------+ | 1 | Kabul | +------+-------+ 1 row in set (0.00 sec) Query OK, 0 rows affected (0.00 sec) mysql> CALL bug(1); +------+-------+ | myid | name | +------+-------+ | 1 | Kabul | +------+-------+ 1 row in set (0.00 sec) Query OK, 0 rows affected (0.00 sec) mysql> select version(); +--------------------------------+ | version() | +--------------------------------+ | 5.1.20-beta-valgrind-max-debug | +--------------------------------+ 1 row in set (0.00 sec) This is likely a duplicate of Bug#4968 and the family of bugs fixed by the patch for Bug#4968. Thank you for your interest in MySQL.