Browse Source

----------

zzj 5 years ago
parent
commit
9befaba624
1 changed files with 2 additions and 1 deletions
  1. 2 1
      db/db_api/CDBConnPool.h

+ 2 - 1
db/db_api/CDBConnPool.h

@@ -147,6 +147,7 @@ namespace YADB
 
 		*/
 		void _AsyncThreadFunc( CDBConnPool* pOwner );//线程函数
+		void ExecAsyncSql(_ASYNC_SQL_*pData);
 	public:
 		CDBConnPool();
 		~CDBConnPool();
@@ -236,7 +237,7 @@ namespace YADB
 		* @bug
 
 		*/
-		bool PushAsync( const std::string& strSQL );
+		bool PushAsync( std::string&& strSQL );
 		/**
 		* @brief
 		执行SQL语句返回结果集函数。