Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
This code works.
create temporary table t1 (a int); |
create table t1 (b int); |
-- This drops the temporary table. Temporary tables hide the regular one with the same name.
|
drop table t1; |
create temporary table t1 (a int); |
-- First table dropped should be the temporary table, then the second one should be the regular table.
|
-- This currently fails with an error.
|
drop table t1, t1; |
|
Make
drop table t1, t1 succeed and also carry out correct privilege checks according to which table it's looking at (temporary vs non-temporary).
Note, this should be fixed in the earliest release where it makes sense.