~ubuntu-branches/ubuntu/saucy/drizzle/saucy-proposed

« back to all changes in this revision

Viewing changes to drizzled/optimizer/sel_arg.h

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2011-03-15 10:41:18 UTC
  • mfrom: (1.2.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110315104118-eaf0hvlytjdl4zrf
Tags: 2011.03.13-0ubuntu1
* New upstream release.
* Added slave plugin.
* Removed archive, blackhole and blitzdb plugins.
* Moved location of libdrizzle headers.
* Removed drizzleadmin manpage patch.
* Add drizzle_safe_write_string to symbols.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef DRIZZLED_OPTIMIZER_SEL_ARG_H
21
 
#define DRIZZLED_OPTIMIZER_SEL_ARG_H
22
 
 
23
 
namespace drizzled
24
 
{
25
 
 
26
 
namespace optimizer
27
 
{
 
20
#pragma once
 
21
 
 
22
namespace drizzled {
 
23
namespace optimizer {
28
24
 
29
25
class RangeParameter;
30
26
 
260
256
      type(type_arg)
261
257
  {}
262
258
 
 
259
  int size() const
 
260
  {
 
261
    return elements;
 
262
  }
 
263
 
263
264
  inline bool is_same(SEL_ARG *arg)
264
265
  {
265
266
    if (type != arg->type || part != arg->part)
489
490
 
490
491
} /* namespace drizzled */
491
492
 
492
 
#endif /* DRIZZLED_OPTIMIZER_SEL_ARG_H */