
19 Sep
2006
19 Sep
'06
10:38 a.m.
Hi, if (PMA_MYSQL_INT_VERSION < 40002 || !empty($GLOBALS['cfg']['Server']['hide_db'])) { if the above comes true every DB is checked with 'USE dB' for access, Why? Why should this check run if i have MySQL >= 4.0.2? at least, shouldn't it be written with && instead of ||: if (PMA_MYSQL_INT_VERSION < 40002 && !empty($GLOBALS['cfg']['Server']['hide_db'])) { so that the db-list gets only checked if MySQL < 4.0.2 AND the hide_db-list is empty -- Sebastian Mendel www.sebastianmendel.de