mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
Add fix for data buckets deletion
This commit is contained in:
parent
9f039b47e9
commit
55197cf830
@ -107,7 +107,7 @@ uint64 DataBucket::DoesBucketExist(std::string bucket_key) {
|
|||||||
*/
|
*/
|
||||||
bool DataBucket::DeleteData(std::string bucket_key) {
|
bool DataBucket::DeleteData(std::string bucket_key) {
|
||||||
std::string query = StringFormat(
|
std::string query = StringFormat(
|
||||||
"DELETE FROM `data_buckets` WHERE `key` = '%s' AND (`expires` > %lld OR `expires` = 0)",
|
"DELETE FROM `data_buckets` WHERE `key` = '%s'",
|
||||||
EscapeString(bucket_key).c_str()
|
EscapeString(bucket_key).c_str()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user