[aur-dev] [PATCH 1/3] 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
These don't need visibility outside of this compilation unit. This also
allows a C compiler to inline and optimize as it sees fit.
Signed-off-by: Dan McGee
We don't need to add rules for implicit .c -> .o conversions. Also add
-O2 to the CFLAGS as gcc doesn't print many warnings unless at least
some level of optimization is used.
Signed-off-by: Dan McGee
On Mon, Jun 27, 2011 at 05:31:31PM -0500, Dan McGee wrote:
These don't need visibility outside of this compilation unit. This also allows a C compiler to inline and optimize as it sees fit.
Signed-off-by: Dan McGee
--- scripts/aurblup/aurblup.c | 46 ++++++++++++++++++++++---------------------- 1 files changed, 23 insertions(+), 23 deletions(-)
Holy sh**... Yeah, just pushed those! On Mon, Jun 27, 2011 at 05:31:32PM -0500, Dan McGee wrote:
We don't need to add rules for implicit .c -> .o conversions. Also add -O2 to the CFLAGS as gcc doesn't print many warnings unless at least some level of optimization is used.
Signed-off-by: Dan McGee
--- scripts/aurblup/Makefile | 4 ---- scripts/aurblup/config.mk | 2 +- 2 files changed, 1 insertions(+), 5 deletions(-)
... and this one as well. Thanks!
On Mon, Jun 27, 2011 at 05:31:30PM -0500, Dan McGee wrote:
* 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
--- scripts/aurblup/aurblup.c | 23 +++++------------------ scripts/aurblup/config.h.proto | 3 --- 2 files changed, 5 insertions(+), 21 deletions(-)
Pushed this one, thanks!
participants (2)
-
Dan McGee
-
Lukas Fleischer