diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-02-10 09:04:01 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-02-11 14:43:23 +0100 |
commit | a64cd12feb1a4cf7bfa6174696cf6cb271ba0602 (patch) | |
tree | d3ef6736971e44a1272040f56a6fa48f654c4f90 /scripts/aurblup/config.h.proto | |
parent | 13bcc269ff8a4410bd6d24ee51e7c24f5cb55a98 (diff) | |
download | aur-a64cd12feb1a4cf7bfa6174696cf6cb271ba0602.tar.gz aur-a64cd12feb1a4cf7bfa6174696cf6cb271ba0602.tar.xz |
Add support for MySQL transactions to aurblup.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'scripts/aurblup/config.h.proto')
-rw-r--r-- | scripts/aurblup/config.h.proto | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/aurblup/config.h.proto b/scripts/aurblup/config.h.proto index daf1744c..fc1a87b8 100644 --- a/scripts/aurblup/config.h.proto +++ b/scripts/aurblup/config.h.proto @@ -6,6 +6,9 @@ #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" |