diff Framework/PostgreSQL/PostgreSQLResult.cpp @ 14:9774802fd05f

PostgreSQLStorageArea working
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 09 Jul 2018 20:28:27 +0200
parents 7cea966b6829
children 6a574d810b98
line wrap: on
line diff
--- a/Framework/PostgreSQL/PostgreSQLResult.cpp	Mon Jul 09 18:42:34 2018 +0200
+++ b/Framework/PostgreSQL/PostgreSQLResult.cpp	Mon Jul 09 20:28:27 2018 +0200
@@ -22,6 +22,7 @@
 #include "PostgreSQLResult.h"
 
 #include "../Common/BinaryStringValue.h"
+#include "../Common/FileValue.h"
 #include "../Common/Integer64Value.h"
 #include "../Common/NullValue.h"
 #include "../Common/Utf8StringValue.h"
@@ -221,7 +222,7 @@
 
       case OIDOID:
       {
-        std::auto_ptr<BinaryStringValue> value(new BinaryStringValue);
+        std::auto_ptr<FileValue> value(new FileValue);
         GetLargeObject(value->GetContent(), column);
         return value.release();
       }