diff --git a/db_engine.cpp b/db_engine.cpp index c4df4ba..02d0a90 100755 --- a/db_engine.cpp +++ b/db_engine.cpp @@ -65,9 +65,9 @@ void db_engine::saveCmd(){ cmdList.clear(); } -//display the table currently stored in memory +//display the database void db_engine::showCmd(string tableName){ - cmdList.push_back("CREATE TABLE " + tableName + ""); + cmdList.push_back("SHOW " + tableName + ""); } //add a tuple to a table in the memory