Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个正在工作的旧代码:
CREATE TEMPORARY TABLE temp_tree (id INTEGER, parent_id INTEGER) type=HEAP;
现在我有 mysql 5 并且这段代码不起作用。在内存中创建临时表的正确方法是什么?我搜索了文档
但找不到合适的例子。
新版本中不推荐使用类型。检查mysql的版本并使用Engine = Memory.
Engine = Memory.