summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysql
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2008-10-17 09:13:21 +0200
committerRick Ellis <rick.ellis@ellislab.com>2008-10-17 09:13:21 +0200
commit1cd997a3ab7edc02c557abcb2e5fcb05d5dd5144 (patch)
tree0003a862bd40d6de2790a74bcc6003c1a5531182 /system/database/drivers/mysql
parent54d3ed6f0ebd943f9e689a2d1d6026e203913022 (diff)
Added backticks to field names
Diffstat (limited to 'system/database/drivers/mysql')
-rw-r--r--system/database/drivers/mysql/mysql_utility.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/mysql/mysql_utility.php b/system/database/drivers/mysql/mysql_utility.php
index 62a77b711..d2c10dbb2 100644
--- a/system/database/drivers/mysql/mysql_utility.php
+++ b/system/database/drivers/mysql/mysql_utility.php
@@ -153,7 +153,7 @@ class CI_DB_mysql_utility extends CI_DB_utility {
) ? TRUE : FALSE;
// Create a string of field names
- $field_str .= $field->name.', ';
+ $field_str .= '`'.$field->name.'`, ';
$i++;
}