~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session/table_messages.cc

  • Committer: Brian Aker
  • Date: 2011-02-27 19:43:52 UTC
  • mfrom: (2192.4.9 iter)
  • Revision ID: brian@tangent.org-20110227194352-w48j3ey8nhonecsd
MergeĀ inĀ find_ptr

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
  if (iter == table_message_cache.end())
64
64
    return false;
65
65
 
66
 
  table_message.CopyFrom(((*iter).second));
 
66
  table_message.CopyFrom((iter->second));
67
67
 
68
68
  return true;
69
69
}
95
95
    return false;
96
96
  }
97
97
 
98
 
  (*iter).second.set_schema(to.getSchemaName());
99
 
  (*iter).second.set_name(to.getTableName());
 
98
  iter->second.set_schema(to.getSchemaName());
 
99
  iter->second.set_name(to.getTableName());
100
100
 
101
101
  return true;
102
102
}