mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
mark the deprecated sysvar deprecated
and adjust the copyright year
This commit is contained in:
@@ -4,6 +4,8 @@
|
|||||||
SET @saved_query_response_time_stats = @@GLOBAL.query_response_time_stats;
|
SET @saved_query_response_time_stats = @@GLOBAL.query_response_time_stats;
|
||||||
SET @saved_query_response_time_flush = @@GLOBAL.query_response_time_flush;
|
SET @saved_query_response_time_flush = @@GLOBAL.query_response_time_flush;
|
||||||
SET GLOBAL query_response_time_flush= 'ON';
|
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;
|
SELECT SUM(COUNT),1 FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME;
|
||||||
SUM(COUNT) 1
|
SUM(COUNT) 1
|
||||||
0 1
|
0 1
|
||||||
@@ -123,4 +125,6 @@ disconnect con3;
|
|||||||
connection default;
|
connection default;
|
||||||
# Cleanup
|
# Cleanup
|
||||||
SET GLOBAL query_response_time_flush = @saved_query_response_time_flush;
|
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;
|
SET GLOBAL query_response_time_stats = @saved_query_response_time_stats;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/* Copyright (C) 2013 Percona and Sergey Vojtovich
|
/* 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
|
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
|
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",
|
"Enable or disable query response time statistics collecting",
|
||||||
NULL, NULL, FALSE);
|
NULL, NULL, FALSE);
|
||||||
static MYSQL_SYSVAR_BOOL(flush, opt_query_response_time_flush,
|
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 "
|
"Update of this variable flushes statistics and re-reads "
|
||||||
"query_response_time_range_base. Deprecated. "
|
"query_response_time_range_base. Compatibility variable, "
|
||||||
"Use \"FLUSH query_response_time\" instead",
|
"use FLUSH QUERY_RESPONSE_TIME instead",
|
||||||
NULL, query_response_time_flush_update, FALSE);
|
NULL, query_response_time_flush_update, FALSE);
|
||||||
#ifndef DBUG_OFF
|
#ifndef DBUG_OFF
|
||||||
static MYSQL_THDVAR_ULONGLONG(exec_time_debug, PLUGIN_VAR_NOCMDOPT,
|
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) 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
|
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
|
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) 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
|
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
|
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) 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
|
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
|
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 "sp_instr.h"
|
||||||
|
|
||||||
#include "opt_trace.h" // class Opt_trace_start
|
#include "opt_trace.h" // class Opt_trace_start
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/* Copyright (c) 2000, 2016, Oracle and/or its affiliates.
|
/* 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
|
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
|
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) 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
|
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
|
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
|
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
|
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) 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
|
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
|
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) 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
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
|
Reference in New Issue
Block a user