~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/csv/ha_tina.cc

  • Committer: Brian Aker
  • Date: 2010-03-18 01:23:59 UTC
  • mto: This revision was merged to the branch mainline in revision 1356.
  • Revision ID: brian@gaz-20100318012359-fga2gebt8b0nbksi
Modify ptr to reference.

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
                           const char *db,
145
145
                           const char *table_name,
146
146
                           const bool is_tmp,
147
 
                           drizzled::message::Table *table_proto);
 
147
                           drizzled::message::Table &table_message);
148
148
 
149
149
  /* Temp only engine, so do not return values. */
150
150
  void doGetTableNames(drizzled::CachedDirectory &, string& , set<string>&) { };
219
219
                               const char *,
220
220
                               const char *,
221
221
                               const bool,
222
 
                               drizzled::message::Table *table_proto)
 
222
                               drizzled::message::Table &table_message)
223
223
{
224
224
  int error= ENOENT;
225
225
  ProtoCache::iterator iter;
229
229
 
230
230
  if (iter!= proto_cache.end())
231
231
  {
232
 
    if (table_proto)
233
 
      table_proto->CopyFrom(((*iter).second));
 
232
    table_message.CopyFrom(((*iter).second));
234
233
    error= EEXIST;
235
234
  }
236
235
  pthread_mutex_unlock(&proto_cache_mutex);