~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.cc

  • Committer: Lee Bieber
  • Date: 2011-02-06 02:27:17 UTC
  • mfrom: (2147.2.3 build)
  • Revision ID: kalebral@gmail.com-20110206022717-dv2li8ky1wf49ju3
Merge Brian - table error updates
Merge Brian - parser updates
Merge Brian - more catalog work

Show diffs side-by-side

added added

removed removed

Lines of Context:
360
360
  return true;
361
361
}
362
362
 
363
 
bool buildWarnings(Session *session)
 
363
void buildSelectWarning(Session *session)
 
364
{
 
365
  (void) create_select_for_variable(session, "warning_count");
 
366
  session->getLex()->statement= new statement::Show(session);
 
367
}
 
368
 
 
369
void buildSelectError(Session *session)
 
370
{
 
371
  (void) create_select_for_variable(session, "error_count");
 
372
  session->getLex()->statement= new statement::Show(session);
 
373
}
 
374
 
 
375
void buildWarnings(Session *session)
364
376
{
365
377
  session->getLex()->statement= new statement::ShowWarnings(session);
366
 
 
367
 
  return true;
368
378
}
369
379
 
370
 
bool buildErrors(Session *session)
 
380
void buildErrors(Session *session)
371
381
{
372
382
  session->getLex()->statement= new statement::ShowErrors(session);
373
 
 
374
 
  return true;
375
383
}
376
384
 
377
385
bool buildIndex(Session *session, const char *schema_ident, Table_ident *table_ident)