diff --git a/mysql-test/suite/perfschema/r/dml_threads.result b/mysql-test/suite/perfschema/r/dml_threads.result index c0c7281ba1aee..e464ce18a551c 100644 --- a/mysql-test/suite/perfschema/r/dml_threads.result +++ b/mysql-test/suite/perfschema/r/dml_threads.result @@ -9,7 +9,7 @@ update performance_schema.threads set thread_id=12; ERROR HY000: Invalid performance_schema usage update performance_schema.threads -set thread_id=12 where PROCESSLIST_ID=connection_id(); +set thread_id=connection_id() + 42 where PROCESSLIST_ID=connection_id(); ERROR HY000: Invalid performance_schema usage update performance_schema.threads set instrumented= 'NO' where PROCESSLIST_ID=connection_id(); diff --git a/mysql-test/suite/perfschema/t/dml_threads.test b/mysql-test/suite/perfschema/t/dml_threads.test index f6239d58690de..c6e14e88165b4 100644 --- a/mysql-test/suite/perfschema/t/dml_threads.test +++ b/mysql-test/suite/perfschema/t/dml_threads.test @@ -21,7 +21,7 @@ update performance_schema.threads --error ER_WRONG_PERFSCHEMA_USAGE update performance_schema.threads - set thread_id=12 where PROCESSLIST_ID=connection_id(); + set thread_id=connection_id() + 42 where PROCESSLIST_ID=connection_id(); update performance_schema.threads set instrumented= 'NO' where PROCESSLIST_ID=connection_id();