mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 09:00:13 +01:00
fixed typo in pilerpurge
This commit is contained in:
parent
447ea6c47f
commit
900f7df86d
@ -395,7 +395,7 @@ int main(int argc, char **argv){
|
|||||||
if(purged_size > 100){
|
if(purged_size > 100){
|
||||||
snprintf(buf, sizeof(buf)-1, "UPDATE `%s` SET size = size - %ld", SQL_COUNTER_TABLE, purged_size);
|
snprintf(buf, sizeof(buf)-1, "UPDATE `%s` SET size = size - %ld", SQL_COUNTER_TABLE, purged_size);
|
||||||
|
|
||||||
if(dry_run == 0) p_query(&sdata, buf);
|
if(dryrun == 0) p_query(&sdata, buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user