diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-09 16:29:46 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-09 16:29:46 +0000 |
commit | 0a041cf9bca04e4ba18a2a9e82b0df503795b30c (patch) | |
tree | d2dda701b59840b9ea17d6a5ff0fddfafb3ee944 | |
parent | Don't create a SqlSource for a NULL field value (diff) | |
download | slicer-0a041cf9bca04e4ba18a2a9e82b0df503795b30c.tar.bz2 slicer-0a041cf9bca04e4ba18a2a9e82b0df503795b30c.tar.xz slicer-0a041cf9bca04e4ba18a2a9e82b0df503795b30c.zip |
libdbpp nolonger stores column names as ustringsslicer-1.2.0
-rw-r--r-- | slicer/db/sqlSelectDeserializer.cpp | 2 |
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); |