summaryrefslogtreecommitdiff
path: root/storage/perfschema
diff options
context:
space:
mode:
authorlilinjie <lilinjie@uniontech.com>2023-01-12 10:38:38 +0800
committerDaniel Black <daniel@mariadb.org>2023-01-12 14:02:20 +1100
commiteb145e5ad7afa29f1d298452b80fcca36a6c3bbe (patch)
treea5d0620945e893f807ec7756984c82c4d1525d90 /storage/perfschema
parentb194c83b7bd2f4e861fdce041a9ea3de18f4d227 (diff)
downloadmariadb-git-eb145e5ad7afa29f1d298452b80fcca36a6c3bbe.tar.gz
fix typos
Signed-off-by: lilinjie <lilinjie@uniontech.com>
Diffstat (limited to 'storage/perfschema')
-rw-r--r--storage/perfschema/pfs_timer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/perfschema/pfs_timer.cc b/storage/perfschema/pfs_timer.cc
index 8533dffcb27..ea39e684110 100644
--- a/storage/perfschema/pfs_timer.cc
+++ b/storage/perfschema/pfs_timer.cc
@@ -166,7 +166,7 @@ void init_timers(void)
/*
For STAGE and STATEMENT, a timer with a fixed frequency is better.
- The prefered timer is nanosecond, or lower resolutions.
+ The preferred timer is nanosecond, or lower resolutions.
*/
if (nanosec_to_pico != 0)
@@ -203,7 +203,7 @@ void init_timers(void)
/*
For IDLE, a timer with a fixed frequency is critical,
as the CPU clock may slow down a lot if the server is completely idle.
- The prefered timer is microsecond, or lower resolutions.
+ The preferred timer is microsecond, or lower resolutions.
*/
if (microsec_to_pico != 0)