~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_list.h

  • Committer: Olaf van der Spek
  • Date: 2011-08-05 13:28:48 UTC
  • mto: This revision was merged to the branch mainline in revision 2395.
  • Revision ID: olafvdspek@gmail.com-20110805132848-vvwjg6pgwf56xnsd
Use const char* instead of str_ref

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
    next_local(NULL),
63
63
    next_global(NULL),
64
64
    prev_global(NULL),
 
65
    schema(NULL),
65
66
    alias(NULL),
 
67
    table_name(NULL),
66
68
    option(NULL),
67
69
    on_expr(NULL),
68
70
    table(NULL),
95
97
    is_fqtn(false),
96
98
    create(false)
97
99
  {
98
 
    schema= NULL;
99
 
    table_name= NULL;
100
100
  }
101
101
 
102
102
  /**
119
119
    return schema;
120
120
  }
121
121
 
122
 
  void setSchemaName(str_ref v)
 
122
  void setSchemaName(const char* v)
123
123
  {
124
 
    schema= v.data();
 
124
    schema= v;
125
125
  }
126
126
 
127
127
  const char *alias;
135
135
    return table_name;
136
136
  }
137
137
 
138
 
  void setTableName(str_ref v)
 
138
  void setTableName(const char* v)
139
139
  {
140
 
    table_name= v.data();
 
140
    table_name= v;
141
141
  }
142
142
 
143
143
  const char *option; ///< Used by cache index