mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 05:29:30 +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(
|
if ( !$tp->check_table(
|
||||||
dbh => $qv_dbh,
|
dbh => $qv_dbh,
|
||||||
db => $db_tbl[0],
|
db => $db_tbl[0],
|
||||||
tbl => $db_tbl[1],
|
tbl => $db_tbl[1]) )
|
||||||
all_privs => 1) )
|
|
||||||
{
|
{
|
||||||
die "The query review table $db_tbl "
|
die "The query review table $db_tbl does not exist";
|
||||||
. "does not exist or you do not have INSERT privileges";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Set up the new QueryReview object.
|
# Set up the new QueryReview object.
|
||||||
@@ -13500,11 +13498,9 @@ sub main {
|
|||||||
if ( !$tp->check_table(
|
if ( !$tp->check_table(
|
||||||
dbh => $qv_dbh2,
|
dbh => $qv_dbh2,
|
||||||
db => $hdb_tbl[0],
|
db => $hdb_tbl[0],
|
||||||
tbl => $hdb_tbl[1],
|
tbl => $hdb_tbl[1]) )
|
||||||
all_privs => 1) )
|
|
||||||
{
|
{
|
||||||
die "The query review history table $hdb_tbl "
|
die "The query review history table $hdb_tbl does not exist";
|
||||||
. "does not exist or you do not have INSERT privileges";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Inspect for MAGIC_history_cols. Add them to the --select list
|
# Inspect for MAGIC_history_cols. Add them to the --select list
|
||||||
|
Reference in New Issue
Block a user