~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/function_engine/cursor.h

  • Committer: Monty Taylor
  • Date: 2010-05-21 06:34:45 UTC
  • mfrom: (1530.2.8)
  • mto: (1530.5.7)
  • mto: This revision was merged to the branch mainline in revision 1560.
  • Revision ID: mordred@inaugust.com-20100521063445-8isexfjpicuqhf5a
Merged fix-lcov-failure into new-valgrind-suppressions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include <drizzled/cursor.h>
25
25
 
26
26
#include <plugin/function_engine/function.h>
 
27
#include <drizzled/base.h>
27
28
 
28
29
class FunctionCursor: public drizzled::Cursor
29
30
{
34
35
  drizzled::ha_rows estimate_of_rows;
35
36
  drizzled::ha_rows rows_returned;
36
37
 
 
38
  void wipeCache();
 
39
 
37
40
public:
38
41
  FunctionCursor(drizzled::plugin::StorageEngine &engine,
39
42
                 drizzled::TableShare &table_arg);
43
46
 
44
47
  int close(void);
45
48
 
 
49
  int reset()
 
50
  {
 
51
    return extra(drizzled::HA_EXTRA_RESET_STATE);
 
52
  }
 
53
 
46
54
  int doStartTableScan(bool scan);
47
55
 
48
56
  /* get the next row and copy it into buf */
53
61
 
54
62
  int doEndTableScan();
55
63
 
 
64
  int extra(enum drizzled::ha_extra_function);
 
65
 
56
66
  /* record position of a record for reordering */
57
67
  void position(const unsigned char *record);
58
68