mesaque / common-schema

Automatically exported from code.google.com/p/common-schema
0 stars 0 forks source link

get_event_dependencies fails on action statement #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
-- What steps will reproduce the problem?

CREATE EVENT
  sakila.purge_history
ON SCHEDULE
  EVERY 1 DAY
ON COMPLETION PRESERVE
ENABLE
DO
  DELETE FROM sakila.rental WHERE rental_date < DATE(NOW() - INTERVAL 5 YEAR);

call common_schema.get_event_dependencies('sakila', 'purge_history');

-- What is the expected output? What do you see instead?

I get:
+--------------------------------+
| error                          |
+--------------------------------+
| Error: unexpected state delete |
+--------------------------------+

Original issue reported on code.google.com by shlomi.n...@gmail.com on 16 Nov 2011 at 9:23

GoogleCodeExporter commented 9 years ago
PS please do svn-update as I have also fixed typo in said file

Original comment by shlomi.n...@gmail.com on 16 Nov 2011 at 9:24

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r174.

Original comment by shlomi.n...@gmail.com on 28 Nov 2011 at 4:57