MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DihGetTabInfo.hpp
1 /*
2  Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; version 2 of the License.
7 
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with this program; if not, write to the Free Software
15  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16 */
17 
18 #ifndef DIH_GET_INFO_TAB_HPP
19 #define DIH_GET_INFO_TAB_HPP
20 
21 #include "SignalData.hpp"
22 
27 {
31  friend class Dbdih;
32 
33 public:
34  STATIC_CONST( SignalLength = 5 );
35 public:
36  Uint32 senderData;
37  Uint32 senderRef;
38  Uint32 requestInfo; // Bitmask of DihGetTabInfoReq::RequestType
39  Uint32 tableId;
40 
41  enum RequestInfoBits
42  {
43  };
44 };
45 
47 {
48  STATIC_CONST( SignalLength = 3 );
49 
50  Uint32 senderData;
51  Uint32 senderRef;
52  Uint32 errorCode;
53 
54  enum ErrorCode
55  {
56  OutOfConnectionRecords = 350,
57  TableBusy = 351,
58  TableNotDefined = 352
59  };
60 };
61 
63 {
64  STATIC_CONST( SignalLength = 2 );
65 
66  Uint32 senderData;
67  Uint32 senderRef;
68 };
69 
70 #endif