From 16519fab3d99ca277bce00d2bcbfd46b33a46391 Mon Sep 17 00:00:00 2001
From: znone <glyc@sina.com.cn>
Date: Sun, 16 Jun 2019 13:27:41 +0000
Subject: [PATCH] 通过 MariaDB 的非阻塞函数访问 MySQL。

---
 test/TestMysql.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/TestMysql.cpp b/test/TestMysql.cpp
index 98ead07..ce97fae 100644
--- a/test/TestMysql.cpp
+++ b/test/TestMysql.cpp
@@ -291,7 +291,7 @@
 
 	try
 	{
-		db.query("SELECT Data from test_stream", [](qtl::mysql::blobbuf& buf) {
+		db.query("SELECT Data from test_stream", [](qtl::mysql::blobbuf&& buf) {
 			istream s(&buf);
 			string str;
 			while (!s.eof())

--
Gitblit v1.9.3