Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TiDB behavior: temporary table #609

Closed
tangenta opened this issue Oct 31, 2019 · 1 comment · Fixed by pingcap/tidb#22860
Closed

Fix TiDB behavior: temporary table #609

tangenta opened this issue Oct 31, 2019 · 1 comment · Fixed by pingcap/tidb#22860
Labels
good first issue Good for newcomers

Comments

@tangenta
Copy link
Contributor

Index issue: #598

SQL example

CREATE TEMPORARY TABLE t (a INT);
DROP TEMPORARY TABLE t;

Current implementation

Both CreateTableStmt.IsTemporary and DropTableStmt.IsTemporary are ignored by TiDB.

Expected implementation

Report an error like ErrUnsupportedTempTable.

@ghost
Copy link

ghost commented Sep 21, 2020

I think that this can be added to the list of noop functions here: https://docs.pingcap.com/tidb/dev/system-variables#tidb_enable_noop_functions-new-in-v40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
1 participant