zzj 5 tahun lalu
induk
melakukan
9befaba624
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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语句返回结果集函数。