mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-12-19 01:09:21 +08:00
Update modules in ptc.
This commit is contained in:
@@ -5611,6 +5611,7 @@ sub new {
|
|||||||
: join(', ', map { $q->quote($_) } @cols))
|
: join(', ', map { $q->quote($_) } @cols))
|
||||||
. " FROM $tbl->{name}"
|
. " FROM $tbl->{name}"
|
||||||
. ($where ? " WHERE $where" : '')
|
. ($where ? " WHERE $where" : '')
|
||||||
|
. ($args{lock_in_share_mode} ? " LOCK IN SHARE MODE" : "")
|
||||||
. " /*$comments{bite}*/";
|
. " /*$comments{bite}*/";
|
||||||
PTDEBUG && _d('One nibble statement:', $nibble_sql);
|
PTDEBUG && _d('One nibble statement:', $nibble_sql);
|
||||||
|
|
||||||
@@ -5620,6 +5621,7 @@ sub new {
|
|||||||
: join(', ', map { $q->quote($_) } @cols))
|
: join(', ', map { $q->quote($_) } @cols))
|
||||||
. " FROM $tbl->{name}"
|
. " FROM $tbl->{name}"
|
||||||
. ($where ? " WHERE $where" : '')
|
. ($where ? " WHERE $where" : '')
|
||||||
|
. ($args{lock_in_share_mode} ? " LOCK IN SHARE MODE" : "")
|
||||||
. " /*explain $comments{bite}*/";
|
. " /*explain $comments{bite}*/";
|
||||||
PTDEBUG && _d('Explain one nibble statement:', $explain_nibble_sql);
|
PTDEBUG && _d('Explain one nibble statement:', $explain_nibble_sql);
|
||||||
|
|
||||||
@@ -5703,6 +5705,7 @@ sub new {
|
|||||||
. " AND " . $asc->{boundaries}->{'<='} # upper boundary
|
. " AND " . $asc->{boundaries}->{'<='} # upper boundary
|
||||||
. ($where ? " AND ($where)" : '')
|
. ($where ? " AND ($where)" : '')
|
||||||
. ($args{order_by} ? " ORDER BY $order_by" : "")
|
. ($args{order_by} ? " ORDER BY $order_by" : "")
|
||||||
|
. ($args{lock_in_share_mode} ? " LOCK IN SHARE MODE" : "")
|
||||||
. " /*$comments{nibble}*/";
|
. " /*$comments{nibble}*/";
|
||||||
PTDEBUG && _d('Nibble statement:', $nibble_sql);
|
PTDEBUG && _d('Nibble statement:', $nibble_sql);
|
||||||
|
|
||||||
@@ -5715,6 +5718,7 @@ sub new {
|
|||||||
. " AND " . $asc->{boundaries}->{'<='} # upper boundary
|
. " AND " . $asc->{boundaries}->{'<='} # upper boundary
|
||||||
. ($where ? " AND ($where)" : '')
|
. ($where ? " AND ($where)" : '')
|
||||||
. ($args{order_by} ? " ORDER BY $order_by" : "")
|
. ($args{order_by} ? " ORDER BY $order_by" : "")
|
||||||
|
. ($args{lock_in_share_mode} ? " LOCK IN SHARE MODE" : "")
|
||||||
. " /*explain $comments{nibble}*/";
|
. " /*explain $comments{nibble}*/";
|
||||||
PTDEBUG && _d('Explain nibble statement:', $explain_nibble_sql);
|
PTDEBUG && _d('Explain nibble statement:', $explain_nibble_sql);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user