From a9878a0da56834eb23e3c05d505e5dbec4c81b88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Blot?= Date: Mon, 27 Mar 2017 15:03:13 +0200 Subject: PostgreSQL: fix delete block Typo fix: we are doing select on delete block. This fix issue #5426 --- src/database-postgresql.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3