From: Loïc Blot Date: Mon, 27 Mar 2017 13:03:13 +0000 (+0200) Subject: PostgreSQL: fix delete block X-Git-Tag: 0.4.16~348 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a9878a0da56834eb23e3c05d505e5dbec4c81b88;p=oweals%2Fminetest.git PostgreSQL: fix delete block Typo fix: we are doing select on delete block. This fix issue #5426 --- diff --git a/src/database-postgresql.cpp b/src/database-postgresql.cpp index 03a69566b..83678fd52 100644 --- a/src/database-postgresql.cpp +++ b/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; }