implemented mysql_use_masters_for_reads