~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Brian Aker
  • Date: 2010-12-18 02:06:13 UTC
  • Revision ID: brian@tangent.org-20101218020613-8lxhcvsy812bu960
Formatting + remove default from switch/case.

Show diffs side-by-side

added added

removed removed

Lines of Context:
335
335
 
336
336
bool check_db_name(Session *session, SchemaIdentifier &schema_identifier)
337
337
{
338
 
  if (not plugin::Authorization::isAuthorized(session->user(), schema_identifier))
 
338
  if (not plugin::Authorization::isAuthorized(session->getSecurityContext(), schema_identifier))
339
339
  {
340
340
    return false;
341
341
  }