~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

Merge Padraig

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include <drizzled/data_home.h>
26
26
#include <drizzled/sql_base.h>
27
27
#include <drizzled/show.h>
 
28
#include <drizzled/info_schema.h>
28
29
#include <drizzled/rename.h>
29
30
#include <drizzled/function/time/unix_timestamp.h>
30
31
#include <drizzled/function/get_system_var.h>
1891
1892
  {
1892
1893
    InfoSchemaTable *schema_table= find_schema_table(ptr->table_name);
1893
1894
    if (!schema_table ||
1894
 
        (schema_table->hidden &&
 
1895
        (schema_table->isHidden() &&
1895
1896
         ((sql_command_flags[lex->sql_command].test(CF_BIT_STATUS_COMMAND)) == 0 ||
1896
1897
          /*
1897
1898
            this check is used for show columns|keys from I_S hidden table