Add support for MySQL transactions to aurblup.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2011-02-10 09:04:01 +01:00
parent 13bcc269ff
commit a64cd12feb
2 changed files with 19 additions and 0 deletions

View file

@ -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"