title: codeigniter mysqli driver broke session class
body: <p>So I have been using mysql driver with codeigniter , but now I need to execute stored procedures and for that Mysqli driver is needed . Because apparently mysql driver doesn't support Stored Procedures. 
  Now I can execute Stored Procedures But the native session manager is broken . It can't store session in Ci_session table . gives the following error </p>
  
  <p>Error Number: 2014</p>
  
  <p>Commands out of sync; you can't run this command now</p>
  
  <p>UPDATE <code>ci_sessions</code> SET <code>last_activity</code> = 1369672449, <code>user_data</code> = 'a:2:{s:9:\"user_data\";s:0:\"\";s:7:\"user_id\";s:1:\"1\";}' WHERE <code>session_id</code> = '1b29074ae286b900b02e410916d93f26'</p>
  
  <p>Filename: F:\xampp\htdocs\project\system\database\DB_driver.php</p>
  
  <p>Line Number: 330</p>
  
  <p>Help!</p>