summaryrefslogtreecommitdiffstats
path: root/support/schema
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-11 01:20:05 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2011-08-11 16:17:08 +0200
commit242f7afb966ad18a4b57b8d5beba793c8fd78c5d (patch)
tree6a44e726b9c467abef23b50a580dee28b5f48937 /support/schema
parent87bdee60bcca219ad13ea9bd14cd5611f9dac4c6 (diff)
downloadaur-242f7afb966ad18a4b57b8d5beba793c8fd78c5d.tar.gz
aur-242f7afb966ad18a4b57b8d5beba793c8fd78c5d.tar.xz
aur.inc.php: allow all functions using DB to take handle as arg
This prevents needless calls to db_connect() if we already have a reference to a handle we can pass into a function. Although the current underlying implementation using mysql_connect() will return the same connection if all parameters are the same, this might not be true if we switch to a more modern (e.g. PDO) interface. In the face of safe transactions, it is extremely important all actions are being taken over the same connection to the database. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'support/schema')
0 files changed, 0 insertions, 0 deletions