On 18.09.2010 19:12, Thomas Bruederli wrote:
I think this is a bug. When I look at the code, in db_connect() we do $this->db_mode = $mode right at the beginning and later we have if ($this->db_mode == 'w') return;
Having $this->db_mode = $mode set at the end of the procedure would be correct.
Problem is because rcube_mdb2 stores DB handle in one variable. So, it is overwritten.