Created
February 25, 2009 06:15
-
-
Save dsturnbull/70048 to your computer and use it in GitHub Desktop.
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
mysql> BEGIN; | |
Query OK, 0 rows affected (0.00 sec) | |
mysql> CREATE TABLE a (a text); | |
Query OK, 0 rows affected (0.00 sec) | |
mysql> ROLLBACK; | |
Query OK, 0 rows affected (0.00 sec) | |
mysql> describe a; | |
+-------+------+------+-----+---------+-------+ | |
| Field | Type | Null | Key | Default | Extra | | |
+-------+------+------+-----+---------+-------+ | |
| a | text | YES | | NULL | | | |
+-------+------+------+-----+---------+-------+ | |
1 row in set (0.00 sec) | |
VS | |
testing=# BEGIN; | |
BEGIN | |
testing=# CREATE TABLE a (a text); | |
CREATE TABLE | |
testing=# ROLLBACK; | |
ROLLBACK | |
testing=# \d a | |
Did not find any relation named "a". | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment