~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/definition/table.cc

  • Committer: Monty Taylor
  • Date: 2010-10-30 01:19:00 UTC
  • mto: (1892.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1893.
  • Revision ID: mordred@inaugust.com-20101030011900-2tdt8w9vt7a6pbk0
Fixed things to make things compile with clang

Show diffs side-by-side

added added

removed removed

Lines of Context:
206
206
 
207
207
TableSharePtr TableShare::getShareCreate(Session *session, 
208
208
                                         TableIdentifier &identifier,
209
 
                                         int *error)
 
209
                                         int *in_error)
210
210
{
211
211
  TableSharePtr share;
212
212
 
213
 
  *error= 0;
 
213
  *in_error= 0;
214
214
 
215
215
  /* Read table definition from cache */
216
216
  if ((share= definition::Cache::singleton().find(identifier)))
231
231
 
232
232
  if (share->open_table_def(*session, identifier))
233
233
  {
234
 
    *error= share->error;
 
234
    *in_error= share->error;
235
235
    definition::Cache::singleton().erase(identifier);
236
236
 
237
237
    return TableSharePtr();