Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Removed quotes as they are already inserted by escape_char in _protec…

…t_identifiers() called in set_insert_batch().
  • Loading branch information...
commit 95125cd2962a9c51be6b821393beefede27817a0 1 parent fe73bab
Esen Sagynov authored February 13, 2012
2  system/database/drivers/cubrid/cubrid_driver.php
@@ -604,7 +604,7 @@ function _replace($table, $keys, $values)
604 604
 	 */
605 605
 	function _insert_batch($table, $keys, $values)
606 606
 	{
607  
-		return "INSERT INTO ".$table." (\"".implode('", "', $keys)."\") VALUES ".implode(', ', $values);
  607
+		return 'INSERT INTO '.$table.' ('.implode(', ', $keys).') VALUES '.implode(', ', $values);
608 608
 	}
609 609
 
610 610
 	// --------------------------------------------------------------------

0 notes on commit 95125cd

Please sign in to comment.
Something went wrong with that request. Please try again.