~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/show_create.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-09-13 01:03:01 UTC
  • mto: (1126.9.2 captain-20090915-01)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: osullivan.padraig@gmail.com-20090913010301-tcvvezipx1124acy
Added calls to the dtrace delete begin/end probes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#include "config.h"
 
21
#include <drizzled/server_includes.h>
22
22
#include <drizzled/show.h>
23
23
#include <drizzled/session.h>
24
24
#include <drizzled/statement/show_create.h>
25
25
 
26
 
namespace drizzled
27
 
{
 
26
using namespace drizzled;
28
27
 
29
28
bool statement::ShowCreate::execute()
30
29
{
31
30
  TableList *first_table= (TableList *) session->lex->select_lex.table_list.first;
32
31
  TableList *all_tables= session->lex->query_tables;
33
32
  assert(first_table == all_tables && first_table != 0);
34
 
  bool res= drizzled_show_create(session, first_table, is_if_not_exists);
 
33
  bool res= drizzled_show_create(session, first_table);
35
34
  return res;
36
35
}
37
 
 
38
 
} /* namespace drizzled */
39