summaryrefslogtreecommitdiff
path: root/storage/perfschema/unittest/pfs_server_stubs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/perfschema/unittest/pfs_server_stubs.cc')
-rw-r--r--storage/perfschema/unittest/pfs_server_stubs.cc14
1 files changed, 13 insertions, 1 deletions
diff --git a/storage/perfschema/unittest/pfs_server_stubs.cc b/storage/perfschema/unittest/pfs_server_stubs.cc
index 0cabce37e51..31894223e89 100644
--- a/storage/perfschema/unittest/pfs_server_stubs.cc
+++ b/storage/perfschema/unittest/pfs_server_stubs.cc
@@ -1,4 +1,5 @@
-/* Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights
+ reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
@@ -29,6 +30,8 @@
#include "sql_class.h"
#include "sql_show.h"
+my_bool show_compatibility_56= FALSE;
+struct system_status_var global_status_var;
struct sql_digest_storage;
uint lower_case_table_names= 0;
@@ -39,6 +42,15 @@ void compute_digest_md5(const sql_digest_storage *, unsigned char *)
{
}
+void reset_status_vars()
+{
+}
+
+void sql_print_warning(const char *format, ...)
+{
+ /* Do not pollute the unit test output with annoying messages. */
+}
+
class sys_var { public: enum where { AUTO }; };
void set_sys_var_value_origin(void *ptr, enum sys_var::where here)
{