From 9fdee1294903724b3fb035fc700313942ce65b9f Mon Sep 17 00:00:00 2001 From: epoque11 Date: Mon, 5 Dec 2011 21:12:46 +0000 Subject: - Added SQL_INNODB switch for databases running under InnoDB (where INSERT DELAYED would break log table support) - Uncommenting this line will result in all log tables dropping use of delayed mySQL insertions git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15010 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/sql.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/common/sql.h') diff --git a/src/common/sql.h b/src/common/sql.h index 5b318ab4d..898e2c778 100644 --- a/src/common/sql.h +++ b/src/common/sql.h @@ -14,7 +14,10 @@ #define SQL_SUCCESS 0 #define SQL_NO_DATA 100 - +// macro definition to determine whether the mySQL engine is running on InnoDB (rather than MyISAM) +// uncomment this line if the your mySQL tables have been changed to run on InnoDB +// this macro will adjust how logs are recorded in the database to accommodate the change +//#define SQL_INNODB /// Data type identifier. /// String, enum and blob data types need the buffer length specified. -- cgit v1.2.3-60-g2f50