~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/function_engine/cursor.h

  • Committer: Monty Taylor
  • Date: 2010-08-21 03:34:31 UTC
  • mto: (1725.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 1726.
  • Revision ID: mordred@inaugust.com-20100821033431-e0czq298av2aqx25
Rearranged how we set -fvisibility, allowing us to turn it on on a
library-by-library basis even if we specify skip-visiblity as an argument to
PANDORA_CANONICAL.

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
 
46
 
  int rnd_init(bool scan);
 
49
  int reset()
 
50
  {
 
51
    return extra(drizzled::HA_EXTRA_RESET_STATE);
 
52
  }
 
53
 
 
54
  int doStartTableScan(bool scan);
47
55
 
48
56
  /* get the next row and copy it into buf */
49
57
  int rnd_next(unsigned char *buf);
51
59
  /* locate row pointed to by pos, copy it into buf */
52
60
  int rnd_pos(unsigned char *buf, unsigned char *pos);
53
61
 
54
 
  int rnd_end();
 
62
  int doEndTableScan();
 
63
 
 
64
  int extra(enum drizzled::ha_extra_function);
55
65
 
56
66
  /* record position of a record for reordering */
57
67
  void position(const unsigned char *record);