mysql >create temporary table a (a int); create temporary table b (b int); select * from information_schema.mysql_temporary;
Query OK, 0 rows affected (0.00 sec)
Query OK, 0 rows affected (0.00 sec)
+--------------------+----------------------+---------------------+
| TEMPORARY_TABLE_ID | TEMPORARY_TABLE_NAME | TEMPORARY_FILE_PATH |
+--------------------+----------------------+---------------------+
| 1 | b | /tmp/#sql3ad0_1_1 |
| 2 | a | /tmp/#sql3ad0_1_0 |
+--------------------+----------------------+---------------------+
2 rows in set (0.00 sec)
mysql_is_temporary.cc
154



被折叠的 条评论
为什么被折叠?



