mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / storage / ndb / src / ndbapi / NdbBlobImpl.hpp
blob9c77444f7a74d234fdb210c5715d2a507caebe2b
1 /* Copyright (c) 2003-2006 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */
16 #ifndef NdbBlobImpl_H
17 #define NdbBlobImpl_H
19 class NdbBlobImpl {
20 public:
21 STATIC_CONST( BlobTableNameSize = 40 );
22 // "Invalid blob attributes or invalid blob parts table"
23 STATIC_CONST( ErrTable = 4263 );
24 // "Invalid usage of blob attribute"
25 STATIC_CONST( ErrUsage = 4264 );
26 // "The blob method is not valid in current blob state"
27 STATIC_CONST( ErrState = 4265 );
28 // "Invalid blob seek position"
29 STATIC_CONST( ErrSeek = 4266 );
30 // "Corrupted blob value"
31 STATIC_CONST( ErrCorrupt = 4267 );
32 // "Error in blob head update forced rollback of transaction"
33 STATIC_CONST( ErrAbort = 4268 );
34 // "Unknown blob error"
35 STATIC_CONST( ErrUnknown = 4270 );
36 // "Corrupted main table PK in blob operation"
37 STATIC_CONST( ErrCorruptPK = 4274 );
38 // "The blob method is incompatible with operation type or lock mode"
39 STATIC_CONST( ErrCompat = 4275 );
42 #endif