~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/table_cache_dictionary/table_cache.cc

  • Committer: Mark Atwood
  • Date: 2011-08-11 03:05:03 UTC
  • mfrom: (2385.1.12 refactor4)
  • Revision ID: me@mark.atwood.name-20110811030503-rp9xjihc5x3y0x4q
mergeĀ lp:~olafvdspek/drizzle/refactor4

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
  std::sort(table_list.begin(), table_list.end(), Table::compare);
58
58
}
59
59
 
60
 
table_cache_dictionary::TableCache::Generator::~Generator()
61
 
{
62
 
}
63
 
 
64
60
bool table_cache_dictionary::TableCache::Generator::nextCore()
65
61
{
66
62
  if (is_primed)
118
114
    push(static_cast<int64_t>(0));
119
115
 
120
116
  /* TABLE_SCHEMA 2 */
121
 
  string arg;
122
 
  push(table->getShare()->getSchemaName(arg));
 
117
  push(table->getShare()->getSchemaNameRef());
123
118
 
124
119
  /* TABLE_NAME  3 */
125
 
  push(table->getShare()->getTableName(arg));
 
120
  push(table->getShare()->getTableNameRef());
126
121
 
127
122
  /* VERSION 4 */
128
123
  push(static_cast<int64_t>(table->getShare()->getVersion()));