I have an old code that was working:
CREATE TEMPORARY TABLE temp_tree (id INTEGER, parent_id INTEGER) type=HEAP;
Now I have mysql 5 and this code is not working.
What is the proper way to create temporary table in the memory?
I have searched into documentation
but cannot find proper example.
Type is deprecated in new versions. Check the version of mysql and use
Engine = Memory.