summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysql/mysql_utility.php
diff options
context:
space:
mode:
authorAndrew Podner <a.podner@me.com>2012-12-20 13:56:19 +0100
committerAndrew Podner <a.podner@me.com>2012-12-20 13:56:19 +0100
commit4851217a1330580ebf73f0a6fb79ad451b73759a (patch)
tree59a78374f0812df149abdaa40d2216e1359a3141 /system/database/drivers/mysql/mysql_utility.php
parent79494dde1c53b671f279e5c5fab2ae03a9ff0353 (diff)
fixes #2081 : change parameter/variable name to 'foreign_key_checks', update change log
Signed-off-by:Andrew Podner <a.podner@me.com>
Diffstat (limited to 'system/database/drivers/mysql/mysql_utility.php')
-rw-r--r--system/database/drivers/mysql/mysql_utility.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/database/drivers/mysql/mysql_utility.php b/system/database/drivers/mysql/mysql_utility.php
index e2de82d0b..f118033dc 100644
--- a/system/database/drivers/mysql/mysql_utility.php
+++ b/system/database/drivers/mysql/mysql_utility.php
@@ -77,8 +77,8 @@ class CI_DB_mysql_utility extends CI_DB_utility {
// Build the output
$output = '';
- // Do we need to include a statement to disable FK checks?
- if ($fk_checks === FALSE)
+ // Do we need to include a statement to disable foreign key checks?
+ if ($foreign_key_checks === FALSE)
{
$output .= "SET foreign_key_checks = 0;".$newline;
}
@@ -188,8 +188,8 @@ class CI_DB_mysql_utility extends CI_DB_utility {
$output .= $newline.$newline;
}
- // Do we need to include a statement to re-enable FK checks?
- if ($fk_checks === FALSE)
+ // Do we need to include a statement to re-enable foreign key checks?
+ if ($foreign_key_checks === FALSE)
{
$output .= "SET foreign_key_checks = 1;".$newline;
}