diff --git a/zone/command.cpp b/zone/command.cpp index 1e420ad5d..0dadc2469 100755 --- a/zone/command.cpp +++ b/zone/command.cpp @@ -298,7 +298,6 @@ int command_init(void) command_add("movechar", "[charname] [zonename] - Move charname to zonename", 50, command_movechar) || command_add("movement", "Various movement commands", 200, command_movement) || command_add("myskills", "- Show details about your current skill levels", 0, command_myskills) || - command_add("mysqltest", "Akkadius MySQL Bench Test", 250, command_mysqltest) || command_add("mysql", "Mysql CLI, see 'help' for options.", 250, command_mysql) || command_add("mystats", "- Show details about you or your pet", 50, command_mystats) || command_add("name", "[newname] - Rename your player target", 150, command_name) || @@ -14720,20 +14719,6 @@ void command_logs(Client *c, const Seperator *sep){ } } -void command_mysqltest(Client *c, const Seperator *sep) -{ - clock_t t = std::clock(); /* Function timer start */ - if (sep->IsNumber(1)){ - uint32 i = 0; - t = std::clock(); - for (i = 0; i < atoi(sep->arg[1]); i++){ - std::string query = "SELECT * FROM `zone`"; - auto results = content_db.QueryDatabase(query); - } - } - LogDebug("MySQL Test Took [{}] seconds", ((float)(std::clock() - t)) / CLOCKS_PER_SEC); -} - void command_resetaa_timer(Client *c, const Seperator *sep) { Client *target = nullptr; if(!c->GetTarget() || !c->GetTarget()->IsClient()) { diff --git a/zone/command.h b/zone/command.h index 2a6e2009f..2b9a7622c 100644 --- a/zone/command.h +++ b/zone/command.h @@ -189,7 +189,6 @@ void command_movechar(Client *c, const Seperator *sep); void command_movement(Client *c, const Seperator *sep); void command_myskills(Client *c, const Seperator *sep); void command_mysql(Client *c, const Seperator *sep); -void command_mysqltest(Client *c, const Seperator *sep); void command_mystats(Client *c, const Seperator *sep); void command_name(Client *c, const Seperator *sep); void command_netstats(Client *c, const Seperator *sep);