[sr-dev] git:4.0: acc: added note about MySQL InnoDB not supporting INSERT DELAYED

Daniel-Constantin Mierla miconda at gmail.com
Thu Mar 6 11:36:28 CET 2014


Module: sip-router
Branch: 4.0
Commit: 9db02c00c7e821b3640dd2fa9161a60bcb0a1f44
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9db02c00c7e821b3640dd2fa9161a60bcb0a1f44

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Fri Jan  3 10:04:39 2014 +0100

acc: added note about MySQL InnoDB not supporting INSERT DELAYED

- reported by Daniel Tryba

(cherry picked from commit d26eff22c8a543c63a40cd7d91bb3c70f04aabc6)
(cherry picked from commit 4ac82cdf92ae6c0e2ff9c1238bfe28cfcefea99c)

---

 modules/acc/doc/acc_admin.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/acc/doc/acc_admin.xml b/modules/acc/doc/acc_admin.xml
index a60ba34..5e4e726 100644
--- a/modules/acc/doc/acc_admin.xml
+++ b/modules/acc/doc/acc_admin.xml
@@ -1029,7 +1029,9 @@ modparam("acc", "db_extra", "ct=$hdr(Content-type); email=$avp(s:email)")
 		<para>
 		If set to 1, use INSERT DELAYED to add records to accounting tables
 		when the DB driver has support for it. If no INSERT DELAYED support
-		is offered by DB driver, then standard INSERT is used.
+		is offered by DB driver, then standard INSERT is used. Beware that
+		MySQL InnoDB engine doesn't support INSERT DELAYED, thus be sure
+		the acc tables are defined with different type (e.g., MyISAM).
 		</para>
 		<para>
 		Default value is 0 (no INSERT DELAYED).




More information about the sr-dev mailing list