fix code coverage error

Former-commit-id: 9242dca4a2cd1eef432b4d4d5eb6da10efff9935
This commit is contained in:
starlord 2019-09-29 14:33:01 +08:00
parent b0b1dec346
commit eb23e112c1
2 changed files with 4 additions and 4 deletions

View File

@ -70,11 +70,11 @@ fi
for test in `ls ${DIR_UNITTEST}`; do
echo $test
case ${test} in
db_test)
# set run args for db_test
test_db)
# set run args for test_db
args="mysql://${MYSQL_USER_NAME}:${MYSQL_PASSWORD}@${MYSQL_HOST}:${MYSQL_PORT}/${MYSQL_DB_NAME}"
;;
*_test)
*test_*)
args=""
;;
esac

View File

@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.
#include "mysql++/mysql++.h"
#include <mysql++/mysql++.h>
#include <unistd.h>
#include <atomic>