|
a/src/query/docseqhist.cpp |
|
b/src/query/docseqhist.cpp |
|
... |
|
... |
42 |
|
42 |
|
43 |
// Decode. We support historical entries which were like "time b64fn [b64ipath]"
|
43 |
// Decode. We support historical entries which were like "time b64fn [b64ipath]"
|
44 |
// Current entry format is "U time b64udi"
|
44 |
// Current entry format is "U time b64udi"
|
45 |
bool RclDHistoryEntry::decode(const string &value)
|
45 |
bool RclDHistoryEntry::decode(const string &value)
|
46 |
{
|
46 |
{
|
47 |
list<string> vall;
|
47 |
vector<string> vall;
|
48 |
stringToStrings(value, vall);
|
48 |
stringToStrings(value, vall);
|
49 |
|
49 |
|
50 |
list<string>::const_iterator it = vall.begin();
|
50 |
vector<string>::const_iterator it = vall.begin();
|
51 |
udi.erase();
|
51 |
udi.erase();
|
52 |
string fn, ipath;
|
52 |
string fn, ipath;
|
53 |
switch (vall.size()) {
|
53 |
switch (vall.size()) {
|
54 |
case 2:
|
54 |
case 2:
|
55 |
// Old fn+ipath, null ipath case
|
55 |
// Old fn+ipath, null ipath case
|