Changeset 2193 for trunk/system/libraries/drivers/Database/Pdosqlite.php
- Timestamp:
- 02/28/2008 09:47:34 PM (11 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/drivers/Database/Pdosqlite.php
r2164 r2193 82 82 public function escape_table($table) 83 83 { 84 if (!$this->config['escape']) 85 return $table; 86 84 87 return '`'.str_replace('.', '`.`', $table).'`'; 85 88 } … … 87 90 public function escape_column($column) 88 91 { 92 if (!$this->config['escape']) 93 return $column; 94 89 95 if (strtolower($column) == 'count(*)' OR $column == '*') 90 96 return $column; … … 203 209 public function escape_str($str) 204 210 { 211 if (!$this->config['escape']) 212 return $str; 213 205 214 if(function_exists('sqlite_escape_string')) 206 215 {
