Skip to content

Commit

Permalink
Fix previous commit (Added sqlite VACUUM to cleanup commands)
Browse files Browse the repository at this point in the history
Conflicts:
	src/plugins/mod_chat_history_sqlite.c
  • Loading branch information
mimicmod authored and klondi committed Nov 25, 2014
1 parent 5e63ab2 commit 96cc461
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/mod_chat_history_sqlite.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ static int command_historycleanup(struct plugin_handle* plugin, struct plugin_us
plugin->hub.send_message(plugin, user, cbuf_get(buf));
cbuf_destroy(buf);

sql_execute(data, null_callback, NULL, "VACUUM;");

return 0;
}

Expand Down

0 comments on commit 96cc461

Please sign in to comment.