Bug #9991 | Server hands on multi-update with view | ||
---|---|---|---|
Submitted: | 19 Apr 2005 6:57 | Modified: | 20 Apr 2005 0:44 |
Reporter: | Dmitry L | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.0.4 | OS: | Windows (win2k) |
Assigned to: | CPU Architecture: | Any |
[19 Apr 2005 6:57]
Dmitry L
[19 Apr 2005 7:00]
Dmitry L
sorry, misstyped, OS:win2k
[19 Apr 2005 7:16]
Dmitry L
In addition: When SELECT in view defenition contains row constructor such as CREATE OR REPLACE VIEW registry AS SELECT oh.*, a.master, a.slave, a.map as _mm, a.access, op.level FROM objects_hier oh, objects_access a, objects_path op WHERE slave = oh.id and a.map = oh.map AND row(oh.id, oh.id, oh.map) = row(op.id, op.pid, op.map) Server hangs and goes down ([root@localhost:3306] ERROR 2013: Lost connection to MySQL server during query) on CREATE
[20 Apr 2005 0:44]
MySQL Verification Team
I wasn't able to repeat with a Windows server 5.0.5 BK source: -> and op.pid = oh.id -> and op.map = oh.map; Query OK, 0 rows affected (0.06 sec) mysql> UPDATE objects_hier oh, registry r -> SET oh.lnk4 = NULL WHERE oh.lnk4 is null; Query OK, 0 rows affected (0.06 sec) Rows matched: 0 Changed: 0 Warnings: 0 mysql> CREATE OR REPLACE VIEW registry AS -> SELECT oh.*, a.master, a.slave, a.map as _mm, a.access, op.level -> FROM objects_hier oh, objects_access a, objects_path op -> WHERE slave = oh.id -> and a.map = oh.map -> AND row(oh.id, oh.id, oh.map) = row(op.id, op.pid, op.map); Query OK, 0 rows affected (0.03 sec) mysql> select version(); +------------------+ | version() | +------------------+ | 5.0.5-beta-debug | +------------------+ 1 row in set (0.02 sec) mysql>
[20 Apr 2005 5:09]
Dmitry L
Thx, I'll wait for 5.0.5 release and check this again