~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/select_send.h

  • Committer: Andrew Hutchings
  • Date: 2010-09-08 19:03:09 UTC
  • mfrom: (1750 staging)
  • mto: (1750.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1751.
  • Revision ID: andrew@linuxjedi.co.uk-20100908190309-mya1nu7xvo1fpvk8
Merge trunk into branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#define DRIZZLED_SELECT_SEND_H
23
23
 
24
24
#include <drizzled/plugin/client.h>
 
25
#include <drizzled/plugin/query_cache.h>
25
26
#include <drizzled/plugin/transactional_storage_engine.h>
26
27
 
27
28
namespace drizzled
111
112
        break;
112
113
      }
113
114
    }
 
115
    /* Insert this record to the Resultset into the cache */
 
116
    if (session->query_cache_key != "" && session->getResultsetMessage() != NULL)
 
117
      plugin::QueryCache::insertRecord(session, items);
 
118
 
114
119
    session->sent_row_count++;
115
120
    if (session->is_error())
116
121
      return true;