~posulliv/drizzle/optimizer-style-cleanup

« back to all changes in this revision

Viewing changes to drizzled/item.h

  • Committer: Padraig O'Sullivan
  • Date: 2010-03-15 14:05:26 UTC
  • mfrom: (1237.9.99 staging)
  • Revision ID: osullivan.padraig@gmail.com-20100315140526-opbgwdwn6tfecdkq
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include <drizzled/sql_list.h>
28
28
#include "drizzled/memory/sql_alloc.h"
29
29
#include <drizzled/table.h>
 
30
#include "drizzled/item_result.h"
30
31
 
31
32
namespace drizzled
32
33
{
47
48
class Client;
48
49
}
49
50
 
50
 
 
51
51
/**
52
52
  Dummy error processor used by default by Name_resolution_context.
53
53
 
183
183
    name=0;
184
184
#endif
185
185
  }
186
 
  void set_name(const char *str, uint32_t length, const CHARSET_INFO * const cs);
 
186
 
 
187
  void set_name(const std::string &arg)
 
188
  {
 
189
    set_name(arg.c_str(), arg.length(), system_charset_info);
 
190
  }
 
191
 
 
192
  void set_name(const char *str, uint32_t length, const CHARSET_INFO * const cs= system_charset_info);
187
193
  /**
188
194
   * Renames item (used for views, cleanup() return original name).
189
195
   *