added more tests
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef QUERY_QUERY_RESULT_HPP
|
||||
#define QUERY_QUERY_RESULT_HPP
|
||||
|
||||
#include "matador/sql/column_definition.hpp"
|
||||
#include "matador/object/attribute_definition.hpp"
|
||||
|
||||
#include "matador/sql/internal/query_result_impl.hpp"
|
||||
|
||||
@@ -111,13 +111,13 @@ private:
|
||||
namespace detail {
|
||||
|
||||
template < typename Type >
|
||||
Type* create_prototype(const std::vector<column_definition> &/*prototype*/)
|
||||
Type* create_prototype(const std::vector<object::attribute_definition> &/*prototype*/)
|
||||
{
|
||||
return new Type{};
|
||||
}
|
||||
|
||||
template <>
|
||||
record* create_prototype<record>(const std::vector<column_definition> &prototype);
|
||||
record* create_prototype<record>(const std::vector<object::attribute_definition> &prototype);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user