MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UtilRelease.hpp
1 /*
2  Copyright (C) 2003, 2005, 2006 MySQL AB
3  All rights reserved. Use is subject to license terms.
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; version 2 of the License.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program; if not, write to the Free Software
16  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18 
19 #ifndef UTIL_RELEASE_HPP
20 #define UTIL_RELEASE_HPP
21 
22 #include "SignalData.hpp"
23 
32  friend class DbUtil;
33  friend class Trix;
34 public:
35  STATIC_CONST( SignalLength = 2 );
36 
37 private:
38  Uint32 senderData; // MUST be no 1!
39  Uint32 prepareId;
40 };
41 
42 
51  friend class DbUtil;
52  friend class Trix;
53 
54  STATIC_CONST( SignalLength = 1 );
55 
56 private:
57  Uint32 senderData; // MUST be no 1!
58 };
59 
60 
69  friend class DbUtil;
70  friend class Trix;
71 
72  enum ErrorCode {
73  NO_ERROR = 0,
74  NO_SUCH_PREPARE_SEIZED = 1
75  };
76 
77  STATIC_CONST( SignalLength = 3 );
78 
79 private:
80  Uint32 senderData; // MUST be no 1!
81  Uint32 prepareId;
82  Uint32 errorCode;
83 };
84 
85 #endif