PostgreSQL: fix delete block

Typo fix: we are doing select on delete block.

This fix issue #5426
This commit is contained in:
Loïc Blot 2017-03-27 15:03:13 +02:00
parent ec0c4d33db
commit a9878a0da5

@ -281,7 +281,7 @@ bool Database_PostgreSQL::deleteBlock(const v3s16 &pos)
const int argLen[] = { sizeof(x), sizeof(y), sizeof(z) };
const int argFmt[] = { 1, 1, 1 };
execPrepared("read_block", ARRLEN(args), args, argLen, argFmt);
execPrepared("delete_block", ARRLEN(args), args, argLen, argFmt);
return true;
}