summaryrefslogtreecommitdiff
path: root/mail/vpopmail-devel/files/patch-vmysql.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/vpopmail-devel/files/patch-vmysql.h')
-rw-r--r--mail/vpopmail-devel/files/patch-vmysql.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/mail/vpopmail-devel/files/patch-vmysql.h b/mail/vpopmail-devel/files/patch-vmysql.h
new file mode 100644
index 000000000000..347342723a14
--- /dev/null
+++ b/mail/vpopmail-devel/files/patch-vmysql.h
@@ -0,0 +1,15 @@
+--- vmysql.h.orig Sat Nov 2 23:02:32 2002
++++ vmysql.h Sat Nov 2 23:06:01 2002
+@@ -250,3 +250,12 @@
+ INDEX error_idx (error), INDEX message_idx (message)"
+ #endif
+
++#ifdef ENABLE_MYSQL_LIMITS
++#define LIMITS_TABLE_LAYOUT "id BIGINT PRIMARY KEY AUTO_INCREMENT, \
++ domain CHAR(64), maxpopaccounts INTEGER, maxaliases INTEGER, \
++ maxforwards INT, maxautoresponders INT, maxmailinglists INT \
++ diskquota INT, defaultquota INT, disablepop INT, disableimap INT, \
++ disabledialup INT, disablepasswordchanging INT, disablewebmail INT, \
++ disablerelay INT, \
++ INDEX domain_idx (domain)"
++#endif