mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 15:56:18 +02:00
* More GCC 2.95 compatibility.
This commit is contained in:
parent
52d20ef124
commit
0f8d3c871b
1 changed files with 1 additions and 1 deletions
|
@ -451,7 +451,7 @@ void Database::enumTable(const Transaction & txn, TableId table,
|
||||||
checkInterrupt();
|
checkInterrupt();
|
||||||
string data((char *) kt.get_data(), kt.get_size());
|
string data((char *) kt.get_data(), kt.get_size());
|
||||||
if (!keyPrefix.empty() &&
|
if (!keyPrefix.empty() &&
|
||||||
data.compare(0, keyPrefix.size(), keyPrefix) != 0)
|
string(data, 0, keyPrefix.size()) != keyPrefix)
|
||||||
break;
|
break;
|
||||||
keys.push_back(data);
|
keys.push_back(data);
|
||||||
flags = DB_NEXT;
|
flags = DB_NEXT;
|
||||||
|
|
Loading…
Reference in a new issue