diff options
author | Loïc Blot <lblot@infopro-digital.com> | 2017-03-27 15:03:13 +0200 |
---|---|---|
committer | Loïc Blot <lblot@infopro-digital.com> | 2017-03-27 15:03:13 +0200 |
commit | a9878a0da56834eb23e3c05d505e5dbec4c81b88 (patch) | |
tree | c409a344470ca00d2c98956f26c905dd0151953a | |
parent | ec0c4d33db9e0b7b3e541757e34c04c08c3b48c9 (diff) | |
download | minetest-a9878a0da56834eb23e3c05d505e5dbec4c81b88.tar.gz minetest-a9878a0da56834eb23e3c05d505e5dbec4c81b88.tar.bz2 minetest-a9878a0da56834eb23e3c05d505e5dbec4c81b88.zip |
PostgreSQL: fix delete block
Typo fix: we are doing select on delete block.
This fix issue #5426
-rw-r--r-- | src/database-postgresql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |