summaryrefslogtreecommitdiffstats
path: root/sinksh/syntax_modules/sink_inspect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sinksh/syntax_modules/sink_inspect.cpp')
-rw-r--r--sinksh/syntax_modules/sink_inspect.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/sinksh/syntax_modules/sink_inspect.cpp b/sinksh/syntax_modules/sink_inspect.cpp
index e0e30c7..7a41ef0 100644
--- a/sinksh/syntax_modules/sink_inspect.cpp
+++ b/sinksh/syntax_modules/sink_inspect.cpp
@@ -32,6 +32,8 @@
32#include "common/bufferutils.h" 32#include "common/bufferutils.h"
33#include "common/fulltextindex.h" 33#include "common/fulltextindex.h"
34 34
35#include "storage/key.h"
36
35#include "sinksh_utils.h" 37#include "sinksh_utils.h"
36#include "state.h" 38#include "state.h"
37#include "syntaxtree.h" 39#include "syntaxtree.h"
@@ -88,7 +90,7 @@ bool inspect(const QStringList &args, State &state)
88 90
89 QSet<QByteArray> uids; 91 QSet<QByteArray> uids;
90 db.scan("", [&] (const QByteArray &key, const QByteArray &data) { 92 db.scan("", [&] (const QByteArray &key, const QByteArray &data) {
91 uids.insert(Sink::Storage::DataStore::uidFromKey(key)); 93 uids.insert(Sink::Storage::Key::fromInternalByteArray(key).identifier().toDisplayByteArray());
92 return true; 94 return true;
93 }, 95 },
94 [&](const Sink::Storage::DataStore::Error &e) { 96 [&](const Sink::Storage::DataStore::Error &e) {