From e9e631aa6b5b8256b58863d896afaeaa186e7a3f Mon Sep 17 00:00:00 2001 From: Becca Date: Mon, 14 Sep 2015 18:34:55 -0500 Subject: [PATCH] changed show --- db_engine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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