~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/key_use.h

mergeĀ lp:~hingo/drizzle/drizzle-auth_ldap-fix-and-docs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2009 Sun Microsystems
 
4
 *  Copyright (C) 2009 Sun Microsystems, Inc.
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef DRIZZLED_OPTIMIZER_KEY_USE_H
21
 
#define DRIZZLED_OPTIMIZER_KEY_USE_H
 
20
#pragma once
22
21
 
23
22
namespace drizzled
24
23
{
76
75
    return val;
77
76
  }
78
77
 
79
 
  table_map getUsedTables()
 
78
  table_map getUsedTables() const
80
79
  {
81
80
    return used_tables;
82
81
  }
96
95
    return optimize;
97
96
  }
98
97
 
99
 
  key_part_map getKeypartMap()
 
98
  key_part_map getKeypartMap() const
100
99
  {
101
100
    return keypart_map;
102
101
  }
162
161
 
163
162
} /* end namespace drizzled */
164
163
 
165
 
#endif /* DRIZZLED_OPTIMIZER_KEY_USE_H */