From 0cb493ef2a4182c22c405b15f5d6e86bec80d4bb Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 27 Jun 2011 17:31:30 -0500 Subject: aurblup: blacklist processing query changes * Do all list building and freeing outside of the transaction to keep it as short as possible. * Remove ability to blacklist without transactions as we now only support InnoDB/transactional engines with proper relations. * No need to turn autocommit off; BEGIN TRANSACTION operates regardless of this setting. Signed-off-by: Dan McGee Signed-off-by: Lukas Fleischer --- scripts/aurblup/config.h.proto | 3 --- 1 file changed, 3 deletions(-) (limited to 'scripts/aurblup/config.h.proto') diff --git a/scripts/aurblup/config.h.proto b/scripts/aurblup/config.h.proto index fc1a87b..daf1744 100644 --- a/scripts/aurblup/config.h.proto +++ b/scripts/aurblup/config.h.proto @@ -6,9 +6,6 @@ #define CONFIG_KEY_PASSWD "AUR_db_pass" #define CONFIG_KEY_DB "AUR_db_name" -/* unset this to use "LOCK TABLE" instead of transactions */ -#define MYSQL_USE_TRANSACTIONS 1 - /* libalpm options */ #define ALPM_DBPATH "/var/lib/aurblup/" #define ALPM_MIRROR "ftp://mirrors.kernel.org/archlinux/%s/os/i686" -- cgit v1.3.1