mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
mark the deprecated sysvar deprecated
and adjust the copyright year
This commit is contained in:
parent
062eca7424
commit
3781848bca
11 changed files with 34 additions and 12 deletions
|
@ -4,6 +4,8 @@
|
|||
SET @saved_query_response_time_stats = @@GLOBAL.query_response_time_stats;
|
||||
SET @saved_query_response_time_flush = @@GLOBAL.query_response_time_flush;
|
||||
SET GLOBAL query_response_time_flush= 'ON';
|
||||
Warnings:
|
||||
Warning 1287 '@@query_response_time_flush' is deprecated and will be removed in a future release
|
||||
SELECT SUM(COUNT),1 FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME;
|
||||
SUM(COUNT) 1
|
||||
0 1
|
||||
|
@ -123,4 +125,6 @@ disconnect con3;
|
|||
connection default;
|
||||
# Cleanup
|
||||
SET GLOBAL query_response_time_flush = @saved_query_response_time_flush;
|
||||
Warnings:
|
||||
Warning 1287 '@@query_response_time_flush' is deprecated and will be removed in a future release
|
||||
SET GLOBAL query_response_time_stats = @saved_query_response_time_stats;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright (C) 2013 Percona and Sergey Vojtovich
|
||||
Copyright (C) 2023 MariaDB Foundation
|
||||
Copyright (C) 2024 MariaDB Foundation
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -61,10 +61,10 @@ static MYSQL_SYSVAR_BOOL(stats, opt_query_response_time_stats,
|
|||
"Enable or disable query response time statistics collecting",
|
||||
NULL, NULL, FALSE);
|
||||
static MYSQL_SYSVAR_BOOL(flush, opt_query_response_time_flush,
|
||||
PLUGIN_VAR_NOCMDOPT,
|
||||
PLUGIN_VAR_NOCMDOPT | PLUGIN_VAR_DEPRECATED,
|
||||
"Update of this variable flushes statistics and re-reads "
|
||||
"query_response_time_range_base. Deprecated. "
|
||||
"Use \"FLUSH query_response_time\" instead",
|
||||
"query_response_time_range_base. Compatibility variable, "
|
||||
"use FLUSH QUERY_RESPONSE_TIME instead",
|
||||
NULL, query_response_time_flush_update, FALSE);
|
||||
#ifndef DBUG_OFF
|
||||
static MYSQL_THDVAR_ULONGLONG(exec_time_debug, PLUGIN_VAR_NOCMDOPT,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright (c) 2000, 2016, Oracle and/or its affiliates.
|
||||
Copyright (c) 2009, 2023, MariaDB Corporation.
|
||||
Copyright (c) 2009, 2024, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright (c) 2000, 2018, Oracle and/or its affiliates.
|
||||
Copyright (c) 2009, 2022, MariaDB Corporation.
|
||||
Copyright (c) 2009, 2024, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
Copyright (c) 2002, 2016, Oracle and/or its affiliates.
|
||||
Copyright (c) 2011, 2020, MariaDB
|
||||
Copyright (c) 2011, 2024, MariaDB
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
/*
|
||||
Copyright (c) 2002, 2016, Oracle and/or its affiliates.
|
||||
Copyright (c) 2011, 2024, MariaDB
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; version 2 of the License.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */
|
||||
|
||||
#include "sp_instr.h"
|
||||
|
||||
#include "opt_trace.h" // class Opt_trace_start
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright (c) 2000, 2016, Oracle and/or its affiliates.
|
||||
Copyright (c) 2010, 2022, MariaDB
|
||||
Copyright (c) 2010, 2024, MariaDB
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
Copyright (c) 2000, 2015, Oracle and/or its affiliates.
|
||||
Copyright (c) 2008, 2022, MariaDB Corporation.
|
||||
Copyright (c) 2008, 2024, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
Copyright (c) 2009, 2022, MariaDB Corporation.
|
||||
Copyright (c) 2000, 2016, Oracle and/or its affiliates.
|
||||
Copyright (c) 2009, 2024, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright (c) 2000, 2017, Oracle and/or its affiliates.
|
||||
Copyright (c) 2008, 2023, MariaDB
|
||||
Copyright (c) 2008, 2024, MariaDB
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright (c) 2000, 2016, Oracle and/or its affiliates.
|
||||
Copyright (c) 2009, 2022, MariaDB Corporation.
|
||||
Copyright (c) 2009, 2024, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
|
Loading…
Add table
Reference in a new issue