Skip to content

Commit

Permalink
Fix some debug level compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
linmagit committed Apr 12, 2016
1 parent 4ccd1db commit e970182
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/ee/anticache/AntiCacheEvictionManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1341,8 +1341,8 @@ bool AntiCacheEvictionManager::readEvictedBlock(PersistentTable *table, int32_t
//AntiCacheDB* antiCacheDB = table->getAntiCacheDB();

try {
VOLT_DEBUG("BLOCK %u %d - unevicted blocks size is %d - alreadyUevicted %d",
_block_id, block_id, static_cast<int>(table->unevictedBlocksSize()), already_unevicted);
VOLT_DEBUG("BLOCK %u %d - unevicted blocks size is %d",
_block_id, block_id, static_cast<int>(table->unevictedBlocksSize()));
AntiCacheBlock* value = antiCacheDB->readBlock(_block_id, 0);

// allocate the memory for this block
Expand Down Expand Up @@ -1765,8 +1765,8 @@ bool AntiCacheEvictionManager::mergeUnevictedTuples(PersistentTable *table) {
int32_t block_id = table->getBlockID(index);
uint32_t _block_id = (uint32_t)(block_id & 0x0FFFFFFF);
int16_t ACID = (int16_t)((block_id & 0xE0000000) >> 29);
VOLT_DEBUG("block_id: %8x ACID: %d _block_id: %d blocking: %d\n", block_id, ACID, _block_id, (int)blocking);
AntiCacheDB* antiCacheDB = m_db_lookup[ACID];
VOLT_DEBUG("block_id: %8x ACID: %d _block_id: %d blocking: %d\n", block_id, ACID, _block_id, antiCacheDB->isBlocking());

int count = 0;
for (std::vector<std::string>::iterator it = tableNames.begin() ; it != tableNames.end(); ++it){
Expand Down
2 changes: 1 addition & 1 deletion src/ee/executors/nestloopindexexecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ bool NestLoopIndexExecutor::p_execute(const NValueArray &params, ReadWriteTracke
if (inner_tuple.isNullTuple()) {
VOLT_INFO("We've got a null tuple for some reason");
}
VOLT_TRACE("Merged Tuple: %s", m_tuple.debug(m_targetTable->name()).c_str());
VOLT_TRACE("Merged Tuple: %s", inner_tuple.debug(inner_table->name()).c_str());
}
#endif

Expand Down

0 comments on commit e970182

Please sign in to comment.