Commit 5a61ee91 by Qiang Xue

Fixed test break.

parent 9ff8b0f9
...@@ -92,7 +92,7 @@ class QueryBuilder extends \yii\db\QueryBuilder ...@@ -92,7 +92,7 @@ class QueryBuilder extends \yii\db\QueryBuilder
} }
return 'INSERT INTO ' . $this->db->quoteTableName($table) return 'INSERT INTO ' . $this->db->quoteTableName($table)
. ' (' . implode(', ', $columns) . ') SELECT ' . implode(' UNION ALL ', $values); . ' (' . implode(', ', $columns) . ') SELECT ' . implode(' UNION SELECT ', $values);
} }
/** /**
......
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