Skip to content

Commit

Permalink
Add fix for data buckets deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
Akkadius committed Oct 21, 2018
1 parent 9f039b4 commit 55197cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zone/data_bucket.cpp
Expand Up @@ -107,7 +107,7 @@ uint64 DataBucket::DoesBucketExist(std::string bucket_key) {
*/
bool DataBucket::DeleteData(std::string bucket_key) {
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()
);

Expand Down

0 comments on commit 55197cf

Please sign in to comment.