mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-03-04 02:18:17 +08:00
Fixed pt-upgrade fails with SELECT INTO (ingore case)
This commit is contained in:
@@ -6340,7 +6340,7 @@ sub save {
|
||||
# *except* when they are directed INTO
|
||||
# a file or a variable. (issue lp:1421781)
|
||||
if ( $event->{arg} =~ m/(?:^\s*SELECT|(?:\*\/\s*SELECT))/i
|
||||
&& $event->{arg} !~ /INTO\s*(?:OUTFILE|DUMPFILE|@)/ ) {
|
||||
&& $event->{arg} !~ /INTO\s*(?:OUTFILE|DUMPFILE|@)/i ) {
|
||||
$rows = $sth->fetchall_arrayref();
|
||||
}
|
||||
eval {
|
||||
|
||||
Reference in New Issue
Block a user