-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
e187ff5
commit 8e3c48f
Showing
7 changed files
with
190 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
USE `event_filter`; | ||
|
||
RENAME TABLE t_name TO t_rename; | ||
|
||
INSERT INTO t_rename | ||
VALUES (1, 'guagua'); | ||
|
||
INSERT INTO t_rename | ||
VALUES (2, 'huahua'); | ||
|
||
INSERT INTO t_rename | ||
VALUES (3, 'xigua'); | ||
|
||
INSERT INTO t_rename | ||
VALUES (4, 'yuko'); | ||
|
||
-- rename tables | ||
RENAME TABLE t_name1 TO t_rename1, t_name2 TO t_rename2, t_name3 TO t_rename3; | ||
|
||
INSERT INTO t_rename1 | ||
VALUES (1, 'guagua'); | ||
|
||
INSERT INTO t_rename2 | ||
VALUES (2, 'huahua'); | ||
|
||
INSERT INTO t_rename3 | ||
VALUES (3, 'xigua'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters