|
a/src/rcldb/rcldb.cpp |
|
b/src/rcldb/rcldb.cpp |
|
... |
|
... |
134 |
// user-defined fields (Xxxx) that we also allow. "F" is currently
|
134 |
// user-defined fields (Xxxx) that we also allow. "F" is currently
|
135 |
// not used by omega (2008-07)
|
135 |
// not used by omega (2008-07)
|
136 |
string pterm("F");
|
136 |
string pterm("F");
|
137 |
pterm.append(udi);
|
137 |
pterm.append(udi);
|
138 |
return pterm;
|
138 |
return pterm;
|
139 |
}
|
|
|
140 |
|
|
|
141 |
static inline void leftzeropad(string& s, unsigned len)
|
|
|
142 |
{
|
|
|
143 |
if (s.length() && s.length() < len)
|
|
|
144 |
s = s.insert(0, len - s.length(), '0');
|
|
|
145 |
}
|
139 |
}
|
146 |
|
140 |
|
147 |
/* See comment in class declaration: return all subdocuments of a
|
141 |
/* See comment in class declaration: return all subdocuments of a
|
148 |
* document given by its unique id.
|
142 |
* document given by its unique id.
|
149 |
*/
|
143 |
*/
|