~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/table_cache_dictionary/table_definition_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:
40
40
{
41
41
}
42
42
 
43
 
table_cache_dictionary::TableDefinitionCache::Generator::~Generator()
44
 
{
45
 
}
46
 
 
47
43
bool table_cache_dictionary::TableDefinitionCache::Generator::populate()
48
44
{
49
 
  drizzled::TableShare::shared_ptr share;
50
 
 
51
 
  while ((share= table_definition_cache_generator))
 
45
  while (drizzled::TableShare::shared_ptr share= table_definition_cache_generator)
52
46
  {
53
47
    /**
54
48
      For test cases use:
56
50
    */
57
51
 
58
52
    /* TABLE_SCHEMA 1 */
59
 
    string arg;
60
 
    push(share->getSchemaName(arg));
 
53
    push(share->getSchemaNameRef());
61
54
 
62
55
    /* TABLE_NAME  2 */
63
 
    push(share->getTableName(arg));
 
56
    push(share->getTableNameRef());
64
57
 
65
58
    /* VERSION 3 */
66
59
    push(static_cast<int64_t>(share->getVersion()));