mirror of
https://github.com/minetest/minetest.git
synced 2025-02-17 02:22:26 +01:00
PostgreSQL: fix delete block
Typo fix: we are doing select on delete block. This fix issue #5426
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user