mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 04:29:25 +00:00
Fix for 978133: Remove the table privilege checks from pt-query-digest. The same checks were removed from pt-table-checksum in 2.1.3 and pt-table-sync in 2.1.4
This commit is contained in:
@@ -13457,11 +13457,9 @@ sub main {
|
||||
if ( !$tp->check_table(
|
||||
dbh => $qv_dbh,
|
||||
db => $db_tbl[0],
|
||||
tbl => $db_tbl[1],
|
||||
all_privs => 1) )
|
||||
tbl => $db_tbl[1]) )
|
||||
{
|
||||
die "The query review table $db_tbl "
|
||||
. "does not exist or you do not have INSERT privileges";
|
||||
die "The query review table $db_tbl does not exist";
|
||||
}
|
||||
|
||||
# Set up the new QueryReview object.
|
||||
@@ -13500,11 +13498,9 @@ sub main {
|
||||
if ( !$tp->check_table(
|
||||
dbh => $qv_dbh2,
|
||||
db => $hdb_tbl[0],
|
||||
tbl => $hdb_tbl[1],
|
||||
all_privs => 1) )
|
||||
tbl => $hdb_tbl[1]) )
|
||||
{
|
||||
die "The query review history table $hdb_tbl "
|
||||
. "does not exist or you do not have INSERT privileges";
|
||||
die "The query review history table $hdb_tbl does not exist";
|
||||
}
|
||||
|
||||
# Inspect for MAGIC_history_cols. Add them to the --select list
|
||||
|
Reference in New Issue
Block a user