added connection pool and tests

This commit is contained in:
Sascha Kühl
2025-02-05 15:47:51 +01:00
parent 45a7199ccf
commit bc3ffbda10
20 changed files with 495 additions and 53 deletions
@@ -1,8 +1,6 @@
#include "matador/sql/interface/query_result_reader.hpp"
#include "matador/utils/basic_types.hpp"
#include "matador/utils/convert.hpp"
#include "matador/utils/string.hpp"
#include "matador/utils/value.hpp"
namespace matador::sql {
@@ -19,20 +17,4 @@ void convert(const char *val_str, utils::value &val)
val = *res;
}
// utils::blob query_result_reader::read_blob(const size_t index)
// {
// const auto *data = column(index);
// if (data == nullptr) {
// return {};
// }
// const auto len = strlen(data);
// const auto *bytes = reinterpret_cast<const unsigned char*>(data);
// return utils::blob{bytes, bytes+len};
// }
// utils::attribute_reader &query_result_reader::result_binder()
// {
// return empty_result_binder_;
// }
}