mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
mysql-5.5.18 merge
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
/* Copyright (C) 2000-2006 MySQL AB, 2008-2009 Sun Microsystems, Inc
|
||||
/*
|
||||
Copyright (c) 2000, 2011, 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
|
||||
@@ -11,7 +12,7 @@
|
||||
|
||||
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
|
||||
|
||||
|
||||
#ifdef USE_PRAGMA_IMPLEMENTATION
|
||||
@@ -399,6 +400,7 @@ int ha_heap::info(uint flag)
|
||||
stats.index_file_length= hp_info.index_length;
|
||||
stats.max_data_file_length= hp_info.max_records * hp_info.reclength;
|
||||
stats.delete_length= hp_info.deleted * hp_info.reclength;
|
||||
stats.create_time= (ulong) hp_info.create_time;
|
||||
if (flag & HA_STATUS_AUTO)
|
||||
stats.auto_increment_value= hp_info.auto_increment;
|
||||
/*
|
||||
@@ -814,7 +816,8 @@ mysql_declare_plugin(heap)
|
||||
0x0100, /* 1.0 */
|
||||
NULL, /* status variables */
|
||||
NULL, /* system variables */
|
||||
NULL /* config options */
|
||||
NULL, /* config options */
|
||||
0, /* flags */
|
||||
}
|
||||
mysql_declare_plugin_end;
|
||||
maria_declare_plugin(heap)
|
||||
|
Reference in New Issue
Block a user