Activity log for bug #1011543

Date Who What changed Old value New value Message
2012-06-11 10:44:01 Mikhail Gavrilov bug added bug
2012-06-11 11:02:33 Mikhail Gavrilov summary After upgrading MariaDB from 5.3.7 to 5.5.24 version, JOIN's in DELETE statement are broken JOIN statement inside the DELETE query are broken
2012-06-11 11:03:03 Mikhail Gavrilov description After upgrading MariaDB from 5.3.7 to 5.5.24 version, JOIN's in DELETE statement are broken. All triggers containing: DELETE sales_tree_p t1 FROM sales_tree_p t1 JOIN (SELECT * FROM sales_tree_p WHERE id_sale_in = 1999) t2 ON t2.id_sale = t1.id_sale JOIN (SELECT * FROM sales_tree_p WHERE id_sale = 2000) t3 ON (t3.id_sale_in = t1.id_sale_in); are lost!!!!! And when I manually try exec this query I receive error message Error Code: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 't1 FROM sales_tree_p t1 JOIN (SELECT * FROM sales_tree_p WHERE id_sale_in = 1' at line 1 After downgrade to version 5.3.7 all my triggers appear again and begins work. Thus, I see two problems: 1) the main, broken JOIN statement inside the DELETE query. 2) when update must be reported that the break triggers and stored procedures. After upgrading MariaDB from 5.3.7 to 5.5.24 version, JOIN statement inside the DELETE query are broken. All triggers containing:   DELETE sales_tree_p t1 FROM sales_tree_p t1    JOIN (SELECT * FROM sales_tree_p WHERE id_sale_in = 1999) t2 ON t2.id_sale = t1.id_sale    JOIN (SELECT * FROM sales_tree_p WHERE id_sale = 2000) t3 ON (t3.id_sale_in = t1.id_sale_in); are lost!!!!! And when I manually try exec this query I receive error message Error Code: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 't1 FROM sales_tree_p t1    JOIN (SELECT * FROM sales_tree_p WHERE id_sale_in = 1' at line 1 After downgrade to version 5.3.7 all my triggers appear again and begins work. Thus, I see two problems: 1) the main, broken JOIN statement inside the DELETE query. 2) when update must be reported that the break triggers and stored procedures.
2012-06-11 11:18:42 Elena Stepanova maria: assignee Sergei (sergii)
2012-06-11 11:26:22 Elena Stepanova maria: milestone 5.5
2012-06-11 11:26:30 Elena Stepanova tags upstream
2012-06-11 12:12:47 Elena Stepanova maria: status New Invalid
2012-06-11 12:12:52 Elena Stepanova maria: assignee Sergei (sergii)