~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_class.h

  • Committer: Brian Aker
  • Date: 2008-11-03 21:00:47 UTC
  • mfrom: (520.9.5 devel)
  • Revision ID: brian@tangent.org-20081103210047-wfkeyyefrfl2vh4l
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
1866
1866
public:
1867
1867
  select_result();
1868
1868
  virtual ~select_result() {};
1869
 
  virtual int prepare(List<Item> &list __attribute__((unused)),
 
1869
  virtual int prepare(List<Item> &,
1870
1870
                      SELECT_LEX_UNIT *u)
1871
1871
  {
1872
1872
    unit= u;
1882
1882
  { return fields.elements; }
1883
1883
  virtual bool send_fields(List<Item> &list, uint32_t flags)=0;
1884
1884
  virtual bool send_data(List<Item> &items)=0;
1885
 
  virtual bool initialize_tables (JOIN  __attribute__((unused)) *join=0)
 
1885
  virtual bool initialize_tables (JOIN *)
1886
1886
  { return 0; }
1887
1887
  virtual void send_error(uint32_t errcode,const char *err);
1888
1888
  virtual bool send_eof()=0;
1915
1915
{
1916
1916
public:
1917
1917
  select_result_interceptor() {}              /* Remove gcc warning */
1918
 
  uint32_t field_count(List<Item> &fields __attribute__((unused))) const
 
1918
  uint32_t field_count(List<Item> &) const
1919
1919
  { return 0; }
1920
 
  bool send_fields(List<Item> &fields __attribute__((unused)),
1921
 
                   uint32_t flag __attribute__((unused))) { return false; }
 
1920
  bool send_fields(List<Item> &,
 
1921
                   uint32_t)
 
1922
  { return false; }
1922
1923
};
1923
1924
 
1924
1925