Implement extraction of Dynamic::Var and Any in MySQL extractor (#1863) (#1872)

* Implement extraction of Dynamic::Var and Any in MySQL extractor (#1863)

* Remove probably unnecessary include <my_global.h> from SQLExecutor
This commit is contained in:
Erbengi
2017-09-04 17:59:13 +02:00
committed by Aleksandar Fabijanic
parent e59fba4ddd
commit fe7230a6d5
6 changed files with 265 additions and 7 deletions

View File

@@ -18,6 +18,7 @@
#include "Poco/Data/Date.h"
#include "Poco/Data/Time.h"
#include "Poco/Dynamic/Var.h"
namespace Poco {
namespace Data {
@@ -240,13 +241,13 @@ bool Extractor::extract(std::size_t pos, Time& val)
bool Extractor::extract(std::size_t pos, Any& val)
{
return false;
return extractToDynamic<Any>(pos, val);
}
bool Extractor::extract(std::size_t pos, Dynamic::Var& val)
{
return false;
return extractToDynamic<Dynamic::Var>(pos, val);
}