~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_ident.h

  • Committer: Tim Penhey
  • Date: 2010-01-20 02:39:01 UTC
  • mto: This revision was merged to the branch mainline in revision 1275.
  • Revision ID: tim.penhey@canonical.com-20100120023901-8teeunid6gwlthzx
Add in a rot 13 function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLED_TABLE_IDENT_H
22
22
#define DRIZZLED_TABLE_IDENT_H
23
23
 
24
 
namespace drizzled
25
 
{
26
 
 
27
24
/* Structure for db & table in sql_yacc */
28
 
class Table_ident :public memory::SqlAlloc
 
25
class Table_ident :public drizzled::memory::SqlAlloc
29
26
{
30
27
public:
31
28
  LEX_STRING db;
36
33
  {
37
34
    db= db_arg;
38
35
  }
39
 
  explicit Table_ident(LEX_STRING table_arg)
 
36
  inline Table_ident(LEX_STRING table_arg)
40
37
    :table(table_arg), sel((Select_Lex_Unit *)0)
41
38
  {
42
39
    db.str=0;
47
44
    Later, if there was an alias specified for the table, it will be set
48
45
    by add_table_to_list.
49
46
  */
50
 
  explicit Table_ident(Select_Lex_Unit *s) : sel(s)
 
47
  inline Table_ident(Select_Lex_Unit *s) : sel(s)
51
48
  {
52
49
    /* We must have a table name here as this is used with add_table_to_list */
53
50
    db.str= empty_c_string;                    /* a subject to casedn_str */
62
59
  }
63
60
};
64
61
 
65
 
} /* namespace drizzled */
66
 
 
67
62
#endif /* DRIZZLED_TABLE_IDENT_H */