Commit ee6c1aed authored by Magali Ruffier's avatar Magali Ruffier
Browse files

'FROM' is separated by the SELECT start with a line return

with rest stack trace, \n is ignored and the query looks like columnFROM
it is not going to affect the running of the query, but can be confusing, so adding a space before the FROM
parent d4ad9fd4
......@@ -579,7 +579,7 @@ sub _generate_sql {
my $tablenames = join(', ', map({ join(' ', @$_) } @tables));
my $sql =
"SELECT $straight_join $columns\n"
"SELECT $straight_join $columns \n"
. "FROM $left_join_prefix ($tablenames) $left_join";
my $default_where = $self->_default_where_clause();
......
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