Fix previous commit (Added sqlite VACUUM to cleanup commands)
Conflicts: src/plugins/mod_chat_history_sqlite.c
This commit is contained in:
parent
5e63ab2ccd
commit
96cc46117f
|
@ -226,6 +226,8 @@ static int command_historycleanup(struct plugin_handle* plugin, struct plugin_us
|
||||||
plugin->hub.send_message(plugin, user, cbuf_get(buf));
|
plugin->hub.send_message(plugin, user, cbuf_get(buf));
|
||||||
cbuf_destroy(buf);
|
cbuf_destroy(buf);
|
||||||
|
|
||||||
|
sql_execute(data, null_callback, NULL, "VACUUM;");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue