mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-28 00:21:56 +00:00
PT-90 Adding file needed for tests
This commit is contained in:
11
t/pt-stalk/samples/issue-1642750.sql
Normal file
11
t/pt-stalk/samples/issue-1642750.sql
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
/* Prepare two statements*/
|
||||||
|
|
||||||
|
SET @random_statement_prepare = 'SELECT RAND() AS rand';
|
||||||
|
PREPARE rand_statement FROM @random_statement_prepare;
|
||||||
|
|
||||||
|
SET @absolute_value_statement_prepare = 'SELECT ABS(?) AS abs_A';
|
||||||
|
PREPARE abs_statement FROM @absolute_value_statement_prepare;
|
||||||
|
|
||||||
|
/* Wait to let pt-stalk to collect the data and find these prepare statements */
|
||||||
|
SELECT SLEEP(11);
|
||||||
|
|
Reference in New Issue
Block a user