mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
5.7.28
This commit is contained in:
parent
15f60c1a73
commit
36ebd704de
426 changed files with 5077 additions and 2340 deletions
|
|
@ -1,13 +1,20 @@
|
|||
/* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
/* Copyright (c) 2015, 2016, 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 as published by
|
||||
the Free Software Foundation; version 2 of the License.
|
||||
it under the terms of the GNU General Public License, version 2.0,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
This program is also distributed with certain software (including
|
||||
but not limited to OpenSSL) that is licensed under separate terms,
|
||||
as designated in a particular file or component or in included license
|
||||
documentation. The authors of MySQL hereby grant you an additional
|
||||
permission to link the program and your derivative works with the
|
||||
separately licensed software that they have included with MySQL.
|
||||
|
||||
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.
|
||||
GNU General Public License, version 2.0, 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
|
||||
|
|
@ -210,7 +217,7 @@ void table_status_by_host
|
|||
return;
|
||||
|
||||
m_row.m_variable_name.make_row(status_var->m_name, status_var->m_name_length);
|
||||
m_row.m_variable_value.make_row(status_var->m_value_str, status_var->m_value_length);
|
||||
m_row.m_variable_value.make_row(status_var);
|
||||
|
||||
if (!pfs_host->m_lock.end_optimistic_lock(&lock))
|
||||
return;
|
||||
|
|
@ -246,7 +253,7 @@ int table_status_by_host
|
|||
set_field_varchar_utf8(f, m_row.m_variable_name.m_str, m_row.m_variable_name.m_length);
|
||||
break;
|
||||
case 2: /* VARIABLE_VALUE */
|
||||
set_field_varchar_utf8(f, m_row.m_variable_value.m_str, m_row.m_variable_value.m_length);
|
||||
m_row.m_variable_value.set_field(f);
|
||||
break;
|
||||
default:
|
||||
DBUG_ASSERT(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue