mesaque / common-schema

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

incorrect action analisys in get_sql_dependencies() #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
call get_sql_dependencies('CREATE VIEW sakila.simple_actor AS SELECT actor_id, 
first_name FROM sakila.actor', 'sakila');

+-------------+--------------+-------------+--------+
| schema_name | object_name  | object_type | action |
+-------------+--------------+-------------+--------+
| sakila      | actor        | table       | create |
| sakila      | simple_actor | view        | create |
+-------------+--------------+-------------+--------+

the actor table does not get created here; so this is confusing.

Original issue reported on code.google.com by shlomi.n...@gmail.com on 17 Nov 2011 at 7:46

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