summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-09 16:29:46 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-09 16:29:46 +0000
commit0a041cf9bca04e4ba18a2a9e82b0df503795b30c (patch)
treed2dda701b59840b9ea17d6a5ff0fddfafb3ee944
parentDon't create a SqlSource for a NULL field value (diff)
downloadslicer-1.2.0.tar.bz2
slicer-1.2.0.tar.xz
slicer-1.2.0.zip
libdbpp nolonger stores column names as ustringsslicer-1.2.0
-rw-r--r--slicer/db/sqlSelectDeserializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/slicer/db/sqlSelectDeserializer.cpp b/slicer/db/sqlSelectDeserializer.cpp
index b0ce145..3abb03b 100644
--- a/slicer/db/sqlSelectDeserializer.cpp
+++ b/slicer/db/sqlSelectDeserializer.cpp
@@ -98,7 +98,7 @@ namespace Slicer {
const DB::Column & c = cmd[col];
if (!c.isNull()) {
auto fmpr = rmp->GetAnonChildRef([&c](Slicer::HookCommonPtr h) {
- return boost::iequals(c.name.raw(), h->PartName());
+ return boost::iequals(c.name, h->PartName());
});
if (fmpr) {
SqlSourcePtr h = new SqlSource(c);