#include "SignalData.hpp"#include <AttributeDescriptor.hpp>#include <SimpleProperties.hpp>#include <ndb_limits.h>#include <NdbSqlUtil.hpp>#include <ndb_global.h>Include dependency graph for DictTabInfo.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | DictTabInfo |
| struct | DictTabInfo::Table |
| struct | DictTabInfo::Attribute |
| struct | DictFilegroupInfo |
| struct | DictFilegroupInfo::GrowSpec |
| struct | DictFilegroupInfo::Filegroup |
| struct | DictFilegroupInfo::File |
Defines | |
| #define | DECIMAL_MAX_LENGTH ((8 * 9) - 8) |
| #define | NOT_FIXED_DEC 31 |
| #define | DTIMAP(x, y, z) { DictTabInfo::y, offsetof(x, z), SimpleProperties::Uint32Value, 0, (~0), 0 } |
| #define | DTIMAP2(x, y, z, u, v) { DictTabInfo::y, offsetof(x, z), SimpleProperties::Uint32Value, u, v, 0 } |
| #define | DTIMAPS(x, y, z, u, v) { DictTabInfo::y, offsetof(x, z), SimpleProperties::StringValue, u, v, 0 } |
| #define | DTIMAPB(x, y, z, u, v, l) |
| #define | DTIBREAK(x) { DictTabInfo::x, 0, SimpleProperties::InvalidValue, 0, 0, 0 } |
| #define | DFGIMAP(x, y, z) { DictFilegroupInfo::y, offsetof(x, z), SimpleProperties::Uint32Value, 0, (~0), 0 } |
| #define | DFGIMAP2(x, y, z, u, v) { DictFilegroupInfo::y, offsetof(x, z), SimpleProperties::Uint32Value, u, v, 0 } |
| #define | DFGIMAPS(x, y, z, u, v) { DictFilegroupInfo::y, offsetof(x, z), SimpleProperties::StringValue, u, v, 0 } |
| #define | DFGIMAPB(x, y, z, u, v, l) |
| #define | DFGIBREAK(x) { DictFilegroupInfo::x, 0, SimpleProperties::InvalidValue, 0, 0, 0 } |
Functions | |
| C_MODE_START int | decimal_bin_size (int, int) |
| C_MODE_END int | my_decimal_get_binary_size (uint precision, uint scale) |
| #define DECIMAL_MAX_LENGTH ((8 * 9) - 8) |
Definition at line 32 of file DictTabInfo.hpp.
Referenced by DictTabInfo::Attribute::translateExtType().
| #define DFGIBREAK | ( | x | ) | { DictFilegroupInfo::x, 0, SimpleProperties::InvalidValue, 0, 0, 0 } |
Definition at line 614 of file DictTabInfo.hpp.
| #define DFGIMAP | ( | x, | |||
| y, | |||||
| z | ) | { DictFilegroupInfo::y, offsetof(x, z), SimpleProperties::Uint32Value, 0, (~0), 0 } |
Definition at line 601 of file DictTabInfo.hpp.
| #define DFGIMAP2 | ( | x, | |||
| y, | |||||
| z, | |||||
| u, | |||||
| v | ) | { DictFilegroupInfo::y, offsetof(x, z), SimpleProperties::Uint32Value, u, v, 0 } |
Definition at line 604 of file DictTabInfo.hpp.
| #define DFGIMAPB | ( | x, | |||
| y, | |||||
| z, | |||||
| u, | |||||
| v, | |||||
| l | ) |
Value:
{ DictFilegroupInfo::y, offsetof(x, z), SimpleProperties::BinaryValue, u, v, \
offsetof(x, l) }
Definition at line 610 of file DictTabInfo.hpp.
| #define DFGIMAPS | ( | x, | |||
| y, | |||||
| z, | |||||
| u, | |||||
| v | ) | { DictFilegroupInfo::y, offsetof(x, z), SimpleProperties::StringValue, u, v, 0 } |
Definition at line 607 of file DictTabInfo.hpp.
| #define DTIBREAK | ( | x | ) | { DictTabInfo::x, 0, SimpleProperties::InvalidValue, 0, 0, 0 } |
Definition at line 62 of file DictTabInfo.hpp.
| #define DTIMAP | ( | x, | |||
| y, | |||||
| z | ) | { DictTabInfo::y, offsetof(x, z), SimpleProperties::Uint32Value, 0, (~0), 0 } |
Definition at line 49 of file DictTabInfo.hpp.
| #define DTIMAP2 | ( | x, | |||
| y, | |||||
| z, | |||||
| u, | |||||
| v | ) | { DictTabInfo::y, offsetof(x, z), SimpleProperties::Uint32Value, u, v, 0 } |
Definition at line 52 of file DictTabInfo.hpp.
| #define DTIMAPB | ( | x, | |||
| y, | |||||
| z, | |||||
| u, | |||||
| v, | |||||
| l | ) |
Value:
{ DictTabInfo::y, offsetof(x, z), SimpleProperties::BinaryValue, u, v, \
offsetof(x, l) }
Definition at line 58 of file DictTabInfo.hpp.
| #define DTIMAPS | ( | x, | |||
| y, | |||||
| z, | |||||
| u, | |||||
| v | ) | { DictTabInfo::y, offsetof(x, z), SimpleProperties::StringValue, u, v, 0 } |
Definition at line 55 of file DictTabInfo.hpp.
| #define NOT_FIXED_DEC 31 |
Definition at line 35 of file DictTabInfo.hpp.
| C_MODE_START int decimal_bin_size | ( | int | , | |
| int | ||||
| ) |
Definition at line 1431 of file decimal.c.
References DBUG_ASSERT, dig2bytes, and DIG_PER_DEC1.
01432 { 01433 int intg=precision-scale, 01434 intg0=intg/DIG_PER_DEC1, frac0=scale/DIG_PER_DEC1, 01435 intg0x=intg-intg0*DIG_PER_DEC1, frac0x=scale-frac0*DIG_PER_DEC1; 01436 01437 DBUG_ASSERT(scale >= 0 && precision > 0 && scale <= precision); 01438 return intg0*sizeof(dec1)+dig2bytes[intg0x]+ 01439 frac0*sizeof(dec1)+dig2bytes[frac0x]; 01440 }
Definition at line 42 of file DictTabInfo.hpp.
References decimal_bin_size().
00043 { 00044 return decimal_bin_size((int)precision, (int)scale); 00045 }
Here is the call graph for this function:

1.4.7

