forked from Mirrorlandia_minetest/minetest
PostgreSQL: fix delete block
Typo fix: we are doing select on delete block. This fix issue #5426
This commit is contained in:
parent
ec0c4d33db
commit
a9878a0da5
@ -281,7 +281,7 @@ bool Database_PostgreSQL::deleteBlock(const v3s16 &pos)
|
|||||||
const int argLen[] = { sizeof(x), sizeof(y), sizeof(z) };
|
const int argLen[] = { sizeof(x), sizeof(y), sizeof(z) };
|
||||||
const int argFmt[] = { 1, 1, 1 };
|
const int argFmt[] = { 1, 1, 1 };
|
||||||
|
|
||||||
execPrepared("read_block", ARRLEN(args), args, argLen, argFmt);
|
execPrepared("delete_block", ARRLEN(args), args, argLen, argFmt);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user