~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/select_send.h

  • Committer: Olaf van der Spek
  • Date: 2011-05-28 16:23:09 UTC
  • mto: This revision was merged to the branch mainline in revision 2321.
  • Revision ID: olafvdspek@gmail.com-20110528162309-epdm35s0vvqtpuag
Return void

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
    char buff[MAX_FIELD_WIDTH];
105
105
    String buffer(buff, sizeof(buff), &my_charset_bin);
106
106
 
107
 
    Item *item;
108
 
    while ((item=li++))
 
107
    while (Item* item= li++)
109
108
    {
110
 
      if (item->send(session->getClient(), &buffer))
111
 
      {
112
 
        my_message(ER_OUT_OF_RESOURCES, ER(ER_OUT_OF_RESOURCES), MYF(0));
113
 
        break;
114
 
      }
 
109
      item->send(session->getClient(), &buffer);
115
110
    }
116
111
    /* Insert this record to the Resultset into the cache */
117
112
    if (session->query_cache_key != "" && session->getResultsetMessage() != NULL)