title: Zend Db Update Not working
body: <p>My table structure is:</p>
  
  <pre><code>TABLE `licenses` (
  `id` int(11) NOT NULL auto_increment,
  `code` varchar(30) collate utf8_unicode_ci NOT NULL,
  `title` varchar(255) collate utf8_unicode_ci NOT NULL,
  `description` text collate utf8_unicode_ci NOT NULL,
  `license_type` char(1) collate utf8_unicode_ci NOT NULL default 'b',
  PRIMARY KEY  (`id`)
  ) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=3 ;
  </code></pre>
  
  <p>Currently there is data:</p>
  
  <pre><code>(`id`, `code`, `title`, `description`, `license_type`)
  (2, 'asd', 'asdt', 'asdd', 'b')
  </code></pre>
  
  <p>My database object is fine and working: $db [Class: Zend_Db_Adapter_Pdo_Mysql ]</p>
  
  <p>I am using this to update:</p>
  
  <pre><code>$data=array( 'id' =&gt; 2 , 'code' =&gt; 'asd' ,  'title' =&gt; 'asdt' , 'description' =&gt; 'asdd' , 'license_type' =&gt; 'b');
  
  $db-&gt;update('licenses' , $data  , $db-&gt;quoteInto(" id = ? " , $data['id']));   
  </code></pre>
  
  <p>Its returning a rowcount = 0; And nothing is being updated in database.</p>
  
  <p>My database is Mysql. Anyone has any idea, whats happening.</p>