From 0d3e994e33aa85965616a064bbf635ec8d043c1a Mon Sep 17 00:00:00 2001
From: znone <glyc@sina.com.cn>
Date: Fri, 02 Oct 2020 06:11:48 +0000
Subject: [PATCH] The database can be operated asynchronously through asio.

---
 include/qtl_database_pool.hpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/qtl_database_pool.hpp b/include/qtl_database_pool.hpp
index 81c5f28..4b53dfd 100644
--- a/include/qtl_database_pool.hpp
+++ b/include/qtl_database_pool.hpp
@@ -223,7 +223,7 @@
 	void test_alive()
 	{
 		if (m_connections.empty())
-			return false;
+			return;
 		std::unique_lock<std::mutex> lock(m_pool_mutex);
 		auto it = m_connections.begin();
 		while (it != m_connections.end())

--
Gitblit v1.9.3