Skip to content

Commit

Permalink
PostgreSQL: fix delete block
Browse files Browse the repository at this point in the history
Typo fix: we are doing select on delete block.

This fix issue #5426
  • Loading branch information
Loïc Blot committed Mar 27, 2017
1 parent ec0c4d3 commit a9878a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database-postgresql.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit a9878a0

Please sign in to comment.