From a77db3e50bb5429b17e8d89bf71403dfdf39985c Mon Sep 17 00:00:00 2001
From: znone <glyc@sina.com.cn>
Date: Sat, 09 Oct 2021 04:16:09 +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