title: Zend MultiDB adapters are not getting switched
body: <p>i am having some problem with zend multidb. My adapters are not getting switched and which ever i sets as default is getting used every time. And also its not giving me any error as well.
  Following is the code i am using for zend multidb feature.</p>
  
  <p>Bootstrap.php</p>
  
  <pre><code>public function _initDB()
  {
      Zend_Registry::getInstance();       
      $this-&gt;bootstrap('multidb');
      $multidb = $this-&gt;getPluginResource('multidb');
      Zend_Registry::set('dbR', $multidb-&gt;getDb('dbR'));
      Zend_Registry::set('dbW', $multidb-&gt;getDb('dbW'));
  
  
  }
  </code></pre>
  
  <p>Application.ini</p>
  
  <pre><code>resources.multidb.dbR.adapter = "mysqli"
  resources.multidb.dbR.host = "xxx.xxx.x.xx"
  resources.multidb.dbR.username = "root"
  resources.multidb.dbR.password = "admin"
  resources.multidb.dbR.dbname = "test_app1"
  resources.multidb.dbR.profiler = "false"
  resources.multidb.dbR.isDefaultTableAdapter = "true"
  
  resources.multidb.dbW.adapter = "mysqli"
  resources.multidb.dbW.host = "xxx.xxx.x.xx"
  resources.multidb.dbW.username = "root"
  resources.multidb.dbW.password = "admin"
  resources.multidb.dbW.dbname = "test_app2"
  </code></pre>
  
  <p>Now in my model class i use following line of code where i wants to perform any write operation</p>
  
  <pre><code>class Abc_Model_ModelName extends Zend_Db_Table_Abstract
  {
      protected $_dbR;
      protected $_dbW;
      protected $_name = 'table_name';
  
  
      public function init(){
          $this-&gt;_dbR = Zend_Registry::get("dbR");
          $this-&gt;_dbW = Zend_Registry::get("dbW");
      }
  
      public function addedit($data = array())
      {
           $this-&gt;setDefaultAdapter($this-&gt;_dbW);
  
      }
  }
  </code></pre>
  
  <p>can anyone help me out with this?</p>