Aleksander Machniak
2015-02-20 825b2b9ab9ae91230f76a0169b72c5e5d9d0e2b0
refs
author Aleksander Machniak <alec@alec.pl>
Friday, February 20, 2015 04:33 -0500
committer Aleksander Machniak <alec@alec.pl>
Friday, February 20, 2015 04:35 -0500
commit825b2b9ab9ae91230f76a0169b72c5e5d9d0e2b0
tree 48396a7a2d838ce35f6817ee5c5401596dac894e tree | zip | gz
parent ca85a8e32c303d5c3d74f10aa928423e144db45d view | diff
Fix performance of rcube_db_mysql::get_variable()

As currently we're using this to find only max_allowed_packet value,
it is better to use "SHOW VARIABLES LIKE ?" instead of asking for all variables.
2 files modified
24 ■■■■ changed files
CHANGELOG 1 ●●●● diff | view | raw | blame | history
program/lib/Roundcube/rcube_db_mysql.php 23 ●●●●● diff | view | raw | blame | history