From 3f273ad116d16797d441cd91e4845dc127814fb4 Mon Sep 17 00:00:00 2001 From: liyingxin Date: Mon, 12 Apr 2021 20:18:57 +0800 Subject: [PATCH] add define guard for WFMySQLConnection.h (#335) --- src/client/WFMySQLConnection.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/client/WFMySQLConnection.h b/src/client/WFMySQLConnection.h index 8fb119a208..66bacf47cf 100644 --- a/src/client/WFMySQLConnection.h +++ b/src/client/WFMySQLConnection.h @@ -16,6 +16,9 @@ Author: Xie Han (xiehan@sogou-inc.com) */ +#ifndef _WFMYSQLCONNECTION_H_ +#define _WFMYSQLCONNECTION_H_ + #include #include #include @@ -73,3 +76,5 @@ WFMySQLConnection::create_disconnect_task(mysql_callback_t callback) return task; } +#endif +