mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
Strip comments from queries before explaining them. Fixes BUG#34339
This commit is contained in:
parent
e3e5a1ee14
commit
9a2090fcdd
1 changed files with 4 additions and 3 deletions
|
@ -196,9 +196,10 @@ if (defined ($help)) {
|
|||
elsif (m/^\s+(.+)$/ ) { # command could be some lines ...
|
||||
#print "multi-lined ($1)\n";
|
||||
my ($A)=$1;
|
||||
chomp $A;
|
||||
$Param->{Query} .= " $1";
|
||||
#print "multi-lined ($1)<<$Param->{Query}>>\n";
|
||||
$A =~ s/\-\-.*//;
|
||||
|
||||
$Param->{Query} .= " $A";
|
||||
#print "multi-lined ($A)<<$Param->{Query}>>\n";
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue