Commit b5d8f7b8 authored by Steve Müller's avatar Steve Müller Committed by Marco Pivetta

fix rebase mistake

parent ba39e373
......@@ -194,7 +194,7 @@ class MySqlPlatform extends AbstractPlatform
" c.constraint_name = k.constraint_name AND ".
" 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.`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