1
/* Copyright (C) 2003 MySQL AB
3
This program is free software; you can redistribute it and/or modify
4
it under the terms of the GNU General Public License as published by
5
the Free Software Foundation; version 2 of the License.
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
GNU General Public License for more details.
12
You should have received a copy of the GNU General Public License
13
along with this program; if not, write to the Free Software
14
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
16
#ifndef GET_INFO_TAB_HPP
17
#define GET_INFO_TAB_HPP
19
#include "SignalData.hpp"
22
* GetTabInfo - Get table info from DICT
24
* Successfull return = series of DICTTABINFO-signals
28
* Sender(s) / Reciver(s)
38
friend bool printGET_TABINFO_REQ(FILE *, const Uint32 *, Uint32, Uint16);
40
STATIC_CONST( SignalLength = 5 );
44
Uint32 requestType; // Bitmask of GetTabInfoReq::RequestType
49
Uint32 unused; // This is located here so that Req & Ref have the same format
56
SECTION( TABLE_NAME = 0 );
61
* Sender(s) / Reciver(s)
71
friend bool printGET_TABINFO_REF(FILE *, const Uint32 *, Uint32, Uint16);
73
STATIC_CONST( SignalLength = 5 );
77
Uint32 requestType; // Bitmask of GetTabInfoReq::RequestType
86
TableNotDefined = 723,
87
TableNameTooLong = 702,
93
class GetTabInfoConf {
95
* Sender(s) / Reciver(s)
106
friend bool printGET_TABINFO_CONF(FILE *, const Uint32 *, Uint32, Uint16);
108
STATIC_CONST( SignalLength = 6 );
110
SECTION( DICT_TAB_INFO = 0 );
115
Uint32 gci; // For table
116
Uint32 freeWordsHi; // for logfile group m_free_file_words
119
Uint32 totalLen; // In words
121
Uint32 freeWordsLo; // for logfile group m_free_file_words