Elizabeth Jennifer Myers
c985febc0b
bandb/makefile.in: Add bantool to make clean.
2011-07-25 23:32:36 -04:00
William Pitcock
8e00d87838
bantool: _XOPEN_SOURCE should die in a fire
2011-03-17 10:45:57 -05:00
Jilles Tjoelker
9fca38c815
bandb: Group writes in transactions to reduce load on heavy kline activity.
...
When a ban is added or removed, open a transaction and
close it after 3 seconds; any bans in the 3 seconds
will not trigger another transaction (= 4 fsyncs with
sqlite).
The transaction is also committed if ircd closes the
connection, but not if bandb itself is terminated with
a signal.
2010-03-03 22:58:16 +01:00
Jilles Tjoelker
f67e7283f9
bantool: change empty oper fields to "unknown".
...
Otherwise they would cause a crash when ircd tries to load them.
2010-01-08 18:17:16 +01:00
Jilles Tjoelker
407e83c192
Fix build: we need -DSQLITE_THREADSAFE=0 -DSQLITE_OMIT_LOAD_EXTENSION=1
...
for the sqlite sources.
2010-01-08 16:02:30 +01:00
William Pitcock
5783a86050
Add sqlite3 to build.
2010-01-07 17:00:24 -06:00
William Pitcock
a18e993106
bantool: Fix compilation error.
2010-01-07 17:00:18 -06:00
William Pitcock
832ed81ad9
Add bandb code.
2010-01-07 16:50:34 -06:00