File: database_mod.txt

package info (click to toggle)
ratbox-services 1.2.4%2Brepack-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 11,760 kB
  • ctags: 6,989
  • sloc: ansic: 76,435; sh: 17,527; cpp: 3,029; perl: 1,048; makefile: 740; pascal: 607; yacc: 256; lex: 232
file content (22 lines) | stat: -rw-r--r-- 886 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
-     ratbox-services 'live' databases    -
-------------------------------------------

ratbox-services maintains a large amount of database state in RAM, instead
of performing lookups in the database.  This means that most of the database
cannot be modified whilst ratbox-services is running, as ratbox-services
will not recognise the changes.

The following tables in the database are 'live', and can be modified
externally without issues:
	operbans
	users_resetpass
	users_resetemail
	channels_dropowner
	email_banned_domain

All other tables must not be modified whilst ratbox-services is running.  If
you need to do this (ie, for a web interface), then you should look at the
database hook API, documented in dbhook.txt.  This allows the usage of
'syncer' tables, to notify ratbox-services it needs to modify the database.

Current database hooks are listed in dbhook_current.txt