Browse Source

Merge branch 'master' of http://local.beijingyongan.com:3000/linux-dev/ya-serv

researchman 5 năm trước cách đây
mục cha
commit
9330c4620d
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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语句返回结果集函数。