diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-01-16 22:32:53 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-06-13 17:29:46 +0100 |
commit | b0b6689e815a4da32c2074cd5d46c0920b8844bb (patch) | |
tree | edda74c25db7bd79e9d2a595f7f7f9044baeb93b /p2pvr/daemon | |
parent | Connect to test DB as user p2pvr (diff) | |
download | p2pvr-b0b6689e815a4da32c2074cd5d46c0920b8844bb.tar.bz2 p2pvr-b0b6689e815a4da32c2074cd5d46c0920b8844bb.tar.xz p2pvr-b0b6689e815a4da32c2074cd5d46c0920b8844bb.zip |
DB layer reports length in bytes, not chars
Diffstat (limited to 'p2pvr/daemon')
-rw-r--r-- | p2pvr/daemon/sqlSelectDeserializer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2pvr/daemon/sqlSelectDeserializer.cpp b/p2pvr/daemon/sqlSelectDeserializer.cpp index 0e87a64..71e320d 100644 --- a/p2pvr/daemon/sqlSelectDeserializer.cpp +++ b/p2pvr/daemon/sqlSelectDeserializer.cpp @@ -31,7 +31,7 @@ class SqlSource : public DB::HandleField, public Slicer::ValueSource, } void string(const char * s, size_t l) override { - vt = Glib::ustring(s, l); + vt = std::string(s, l); } void integer(int64_t i) override { |