Skip to content
Permalink
Browse files

PostgreSQL: fix delete block

Typo fix: we are doing select on delete block.

This fix issue #5426
  • Loading branch information...
Loïc Blot
Loïc Blot committed Mar 27, 2017
1 parent ec0c4d3 commit a9878a0da56834eb23e3c05d505e5dbec4c81b88
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/database-postgresql.cpp
@@ -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;
}

0 comments on commit a9878a0

Please sign in to comment.
You can’t perform that action at this time.