mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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 <dan@archlinux.org> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
0f994df357
commit
0cb493ef2a
2 changed files with 5 additions and 21 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue