1
0
mirror of https://github.com/luanti-org/minetestmapper.git synced 2025-10-14 17:25:24 +02:00

Allow database backend to optimize group-by-XZ operation

This commit is contained in:
sfan5
2025-02-19 22:57:58 +01:00
parent 7685e548f0
commit cd36f16775
11 changed files with 89 additions and 70 deletions

View File

@@ -68,7 +68,7 @@ DBRedis::~DBRedis()
}
std::vector<BlockPos> DBRedis::getBlockPos(BlockPos min, BlockPos max)
std::vector<BlockPos> DBRedis::getBlockPosXZ(BlockPos min, BlockPos max)
{
std::vector<BlockPos> res;
for (const auto &it : posCache) {