From 6a6b55518847de8d8de8b963a117c53f0c93f67f Mon Sep 17 00:00:00 2001
From: znone <glyc@sina.com.cn>
Date: Tue, 05 Oct 2021 00:50:40 +0000
Subject: [PATCH] Query_iterator remove std::iterator. MySQL: Fix some error. PostgreSQL: Support binding to std::any and std::optional.
---
include/qtl_mysql.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/qtl_mysql.hpp b/include/qtl_mysql.hpp
index 1ab6929..2b39807 100644
--- a/include/qtl_mysql.hpp
+++ b/include/qtl_mysql.hpp
@@ -936,7 +936,7 @@
}
int read(char *buf, unsigned int buf_len)
{
- fread(buf, 1, buf_len, m_fp);
+ return fread(buf, 1, buf_len, m_fp);
}
void close()
{
--
Gitblit v1.9.3