diff options
author | Adam <Adam@anope.org> | 2012-04-27 15:38:50 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-04-27 15:38:50 -0400 |
commit | 5068483cb917ba1c8ed3a0d20f7bfcb996f0aa3e (patch) | |
tree | cf2bf4096b72f68b595a3bbe9d0e75d34ad2641d /data/chanstats.example.conf | |
parent | 83ee20fc2910e9ea0cac250e767d20f17576d98a (diff) |
Add db_sql:prefix allow prefixing all anope tables similarly, and changed db_sql to update the databases incrementally instead of one big flush
Diffstat (limited to 'data/chanstats.example.conf')
-rw-r--r-- | data/chanstats.example.conf | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/data/chanstats.example.conf b/data/chanstats.example.conf index 2ada76b98..ab07b2713 100644 --- a/data/chanstats.example.conf +++ b/data/chanstats.example.conf @@ -8,17 +8,11 @@ module { name = "m_chanstats" } chanstats { /* - * WARNING: DO NOT USE THE SAME DATABASE AS db_mysql! db_mysql drops ALL tables in the db! - * For this, we add a second mysql{ } block after the chanstats{ } configuration block - * and give it another engine name, so m_mysql opens a second connection to the mysql server. - * / - - /* * The name of this engine. - * This must match with the name in the mysql{ } block + * This must match with the name of a SQL engine block */ - engine = "mysql/chanstats" + engine = "mysql/main" smileyshappy = ":) :-) ;) :D :-D" @@ -33,18 +27,6 @@ chanstats CSDefChanstats = 1 } -mysql -{ - name = "mysql/chanstats" - database = "anope" - server = "127.0.0.1" - username = "anope" - password = "anope" - port = 3306 -} - - - module { name = "cs_set_chanstats" } command { service = "ChanServ"; name = "SET CHANSTATS"; command = "chanserv/set/chanstats"; } |