~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/select_send.h

  • Committer: Patrick Crews
  • Date: 2010-12-07 20:02:50 UTC
  • Revision ID: gleebix@gmail.com-20101207200250-6a27jgqalgw5bsb5
Added disabled.def file to disable drizzleslap due to Bug#684269.  Need to skip for tarball release this round

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) 2008 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
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
60
60
  bool send_fields(List<Item> &list)
61
61
  {
62
62
    bool res;
63
 
    if (! (res= session->getClient()->sendFields(&list)))
 
63
    if (! (res= session->client->sendFields(&list)))
64
64
      is_result_set_started= 1;
65
65
    return res;
66
66
  }
106
106
    Item *item;
107
107
    while ((item=li++))
108
108
    {
109
 
      if (item->send(session->getClient(), &buffer))
 
109
      if (item->send(session->client, &buffer))
110
110
      {
111
111
        my_message(ER_OUT_OF_RESOURCES, ER(ER_OUT_OF_RESOURCES), MYF(0));
112
112
        break;
119
119
    session->sent_row_count++;
120
120
    if (session->is_error())
121
121
      return true;
122
 
    return session->getClient()->flush();
 
122
    return session->client->flush();
123
123
  }
124
124
};
125
125