#include "Dbtup.hpp"#include <RefConvert.hpp>#include <ndb_limits.h>#include <pc.hpp>#include <signaldata/DropTab.hpp>#include <signaldata/DumpStateOrd.hpp>#include <signaldata/EventReport.hpp>#include <Vector.hpp>#include "AttributeOffset.hpp"Include dependency graph for DbtupDebug.cpp:

Go to the source code of this file.
Classes | |
| struct | Chunk |
Defines | |
| #define | DBTUP_C |
| #define | ljam() { jamLine(30000 + __LINE__); } |
| #define | ljamEntry() { jamEntryLine(30000 + __LINE__); } |
Functions | |
| NdbOut & | operator<< (NdbOut &out, const Local_key &key) |
| static NdbOut & | operator<< (NdbOut &out, const Dbtup::Tablerec::Tuple_offsets &off) |
| NdbOut & | operator<< (NdbOut &out, const Dbtup::Tablerec &tab) |
| NdbOut & | operator<< (NdbOut &out, const AttributeDescriptor &off) |
| NdbOut & | operator<< (NdbOut &out, const AttributeOffset &off) |
| #define DBTUP_C |
Definition at line 18 of file DbtupDebug.cpp.
| #define ljam | ( | ) | { jamLine(30000 + __LINE__); } |
Definition at line 28 of file DbtupDebug.cpp.
| #define ljamEntry | ( | ) | { jamEntryLine(30000 + __LINE__); } |
Definition at line 29 of file DbtupDebug.cpp.
| NdbOut& operator<< | ( | NdbOut & | out, | |
| const AttributeOffset & | off | |||
| ) |
Definition at line 408 of file DbtupDebug.cpp.
References AttributeOffset::getCharsetFlag(), AttributeOffset::getCharsetPos(), AttributeOffset::getNullFlagPos(), AttributeOffset::getOffset(), and memcpy.
00409 { 00410 Uint32 word; 00411 memcpy(&word, &off, 4); 00412 out << "[ offset: " << AttributeOffset::getOffset(word) 00413 << " nullpos: " << AttributeOffset::getNullFlagPos(word); 00414 if(AttributeOffset::getCharsetFlag(word)) 00415 out << " charset: %d" << AttributeOffset::getCharsetPos(word); 00416 out << " ]"; 00417 return out; 00418 }
Here is the call graph for this function:

| NdbOut& operator<< | ( | NdbOut & | out, | |
| const AttributeDescriptor & | off | |||
| ) |
| NdbOut& operator<< | ( | NdbOut & | out, | |
| const Dbtup::Tablerec & | tab | |||
| ) |
Definition at line 380 of file DbtupDebug.cpp.
References Dbtup::Tablerec::m_attributes, Dbtup::Tablerec::m_bits, Dbtup::Tablerec::m_no_of_attributes, Dbtup::Tablerec::m_no_of_disk_attributes, Dbtup::Tablerec::m_no_of_fixsize, Dbtup::Tablerec::m_no_of_varsize, Dbtup::Tablerec::m_offsets, Dbtup::Tablerec::total_rec_size, and Dbtup::Tablerec::TR_Checksum.
00381 { 00382 out << "[ total_rec_size: " << tab.total_rec_size 00383 << " checksum: " << !!(tab.m_bits & Dbtup::Tablerec::TR_Checksum) 00384 << " attr: " << tab.m_no_of_attributes 00385 << " disk: " << tab.m_no_of_disk_attributes 00386 << " mm: " << tab.m_offsets[Dbtup::MM] 00387 << " [ fix: " << tab.m_attributes[Dbtup::MM].m_no_of_fixsize 00388 << " var: " << tab.m_attributes[Dbtup::MM].m_no_of_varsize << "]" 00389 00390 << " dd: " << tab.m_offsets[Dbtup::DD] 00391 << " [ fix: " << tab.m_attributes[Dbtup::DD].m_no_of_fixsize 00392 << " var: " << tab.m_attributes[Dbtup::DD].m_no_of_varsize << "]" 00393 << " ]" << endl; 00394 return out; 00395 }
| static NdbOut& operator<< | ( | NdbOut & | out, | |
| const Dbtup::Tablerec::Tuple_offsets & | off | |||
| ) | [static] |
Definition at line 367 of file DbtupDebug.cpp.
References Dbtup::Tablerec::Tuple_offsets::m_disk_ref_offset, Dbtup::Tablerec::Tuple_offsets::m_max_var_offset, Dbtup::Tablerec::Tuple_offsets::m_null_offset, Dbtup::Tablerec::Tuple_offsets::m_null_words, and Dbtup::Tablerec::Tuple_offsets::m_varpart_offset.
00368 { 00369 out << "[ null_words: " << (Uint32)off.m_null_words 00370 << " null off: " << (Uint32)off.m_null_offset 00371 << " disk_off: " << off.m_disk_ref_offset 00372 << " var_off: " << off.m_varpart_offset 00373 << " max_var_off: " << off.m_max_var_offset 00374 << " ]"; 00375 00376 return out; 00377 }
| NdbOut& operator<< | ( | NdbOut & | out, | |
| const Local_key & | key | |||
| ) |
1.4.7

