Commit f223b0b8 authored by Steve Müller's avatar Steve Müller

fix rebase mistake

parent 37ea5852
...@@ -200,7 +200,7 @@ class MySqlPlatform extends AbstractPlatform ...@@ -200,7 +200,7 @@ class MySqlPlatform extends AbstractPlatform
" c.constraint_name = k.constraint_name AND ". " c.constraint_name = k.constraint_name AND ".
" c.table_name = $table */ WHERE k.table_name = $table"; " c.table_name = $table */ WHERE k.table_name = $table";
$databaseNameSql = null === $database ? 'DATABASE()' : "'$database'"; $databaseNameSql = null === $database ? 'DATABASE()' : $database;
$sql .= " AND k.table_schema = $databaseNameSql /*!50116 AND c.constraint_schema = $databaseNameSql */"; $sql .= " AND k.table_schema = $databaseNameSql /*!50116 AND c.constraint_schema = $databaseNameSql */";
$sql .= " AND k.`REFERENCED_COLUMN_NAME` is not NULL"; $sql .= " AND k.`REFERENCED_COLUMN_NAME` is not NULL";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment