~stewart/drizzle/bug376299

« back to all changes in this revision

Viewing changes to drizzled/statement/drop_table.cc

  • Committer: Brian Aker
  • Date: 2011-01-03 18:49:27 UTC
  • mfrom: (2041.3.12 session-fix)
  • Revision ID: brian@tangent.org-20110103184927-2oso3g5g7g1gwb5m
Refactor drop schema so that it can be used for removing tables under
catalogs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
  }
101
101
 
102
102
  /* DDL and binlog write order protected by table::Cache::singleton().mutex() */
103
 
  bool res= rm_table(session,
104
 
                           first_table,
105
 
                           drop_if_exists,
106
 
                           drop_temporary);
 
103
  bool res= rm_table(session, first_table, drop_if_exists, drop_temporary);
 
104
 
107
105
  return res;
108
106
}
109
107