From 22d1f68061526c8b0206d3c089228f2f62efcb03 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 11 Feb 2019 20:36:49 +0800 Subject: [PATCH] 1 --- test/app.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/test/app.cc b/test/app.cc index 16a9b20..19e4075 100644 --- a/test/app.cc +++ b/test/app.cc @@ -38,11 +38,6 @@ static void StopApp(int signo) static void Test() { - static bool already_test = false; - if (already_test) { - return; - } - already_test = true; a8::MutableXObject* conn_info = a8::MutableXObject::NewObject(); conn_info->SetVal("host", a8::XValue("127.0.0.1")); conn_info->SetVal("port", a8::XValue(3306)); @@ -65,8 +60,6 @@ static void Test() delete conn_info; } -static MYSQL* mysql_init_conn = nullptr; - void App::Init(int argc, char* argv[]) { this->argc = argc;