From 2e0192b23bf9da2136be442f535dc2b162cf3881 Mon Sep 17 00:00:00 2001 From: xx Date: Thu, 6 Mar 2025 17:43:56 +0800 Subject: [PATCH] BG --- src/db/mysql.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/db/mysql.cpp b/src/db/mysql.cpp index 190b552..a92e12d 100644 --- a/src/db/mysql.cpp +++ b/src/db/mysql.cpp @@ -17,7 +17,7 @@ If you have any questions, please contact us: 1585346868@qq.com Or visit our web #include "db/mysql.h" #if defined(_WIN64) || defined(__linux__) -#include "cppconn/driver.h" + #include "cppconn/connection.h" #include "cppconn/statement.h" #include "cppconn/prepared_statement.h" @@ -26,6 +26,7 @@ If you have any questions, please contact us: 1585346868@qq.com Or visit our web #include "cppconn/resultset_metadata.h" #include "cppconn/exception.h" #include "cppconn/warning.h" +#include "mysql_driver.h" #include "util/strutils.h" #define CHECK_SQL_CONNECTION if(m_handle == nullptr){throw ylib::exception("current connection is invalid");}