Aleksander Machniak
2015-02-20 c7b77b9179f1fcb52ed5f4d6b648daa54eeda7b4
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:33 -0500
commitc7b77b9179f1fcb52ed5f4d6b648daa54eeda7b4
tree 3169fe5199eb4bb8cd49c820913a1a116abeb04b tree | zip | gz
parent 13e0a6556ffa9e0b3257f08d78042a8133055ea3 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