~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_identifier.h

  • Committer: Brian Aker
  • Date: 2010-03-02 22:39:09 UTC
  • mto: This revision was merged to the branch mainline in revision 1319.
  • Revision ID: brian@gaz-20100302223909-qbwpuonvw68igvfw
Small name change (AKA... I hate reading the NO_**@##@$# logic).

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
public:
61
61
  TableIdentifier( const char *db_arg,
62
62
                   const char *table_name_arg,
63
 
                   tmp_table_type tmp_arg= NO_TMP_TABLE) :
 
63
                   tmp_table_type tmp_arg= STANDARD_TABLE) :
64
64
    path_inited(false),
65
65
    type(tmp_arg),
66
66
    db(db_arg),
69
69
 
70
70
  bool isTmp() const
71
71
  {
72
 
    return type == NO_TMP_TABLE ? false  : true;
 
72
    return type == STANDARD_TABLE ? false  : true;
73
73
  }
74
74
 
75
75
  const char *getPath();
100
100
    output << ", ";
101
101
 
102
102
    switch (identifier.type) {
103
 
    case NO_TMP_TABLE:
 
103
    case STANDARD_TABLE:
104
104
      type_str= "standard";
105
105
      break;
106
106
    case INTERNAL_TMP_TABLE: