summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/example.conf11
-rw-r--r--data/mysql/tables.sql2
2 files changed, 12 insertions, 1 deletions
diff --git a/data/example.conf b/data/example.conf
index 174a0f8a8..561504cb8 100644
--- a/data/example.conf
+++ b/data/example.conf
@@ -275,6 +275,17 @@ options
* Supported:
* - db_plain
* - db_mysql
+ * - db_mysql_live
+ *
+ * The db_mysql_live module is an extension to db_mysql, and should only be used if
+ * db_mysql is being used. This module pulls data in real time from SQL as it is
+ * requested by the core as a result of someone executing commands. This effectively
+ * allows you to edit your database and have it be immediatly refelected back on Anope.
+ * It is highly recommended you only use this module if your databases is located
+ * locally as this module will generate many queries per command.
+ * db_mysql_live only uses threads for commands and non-blocking queries, so it is safe to
+ * use on large networks without worrying about response time.
+ *
*/
database = "db_plain"
diff --git a/data/mysql/tables.sql b/data/mysql/tables.sql
index d0f16b0d5..2cda6384e 100644
--- a/data/mysql/tables.sql
+++ b/data/mysql/tables.sql
@@ -270,7 +270,7 @@ CREATE TABLE IF NOT EXISTS `anope_ns_core` (
`email` text NOT NULL,
`greet` text NOT NULL,
`flags` text NOT NULL,
- `language` smallint(5) unsigned NOT NULL DEFAULT '0',
+ `language` varchar(5) NOT NULL DEFAULT '',
`channelcount` smallint(5) unsigned NOT NULL DEFAULT '0',
`memomax` smallint(5) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`display`)