~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/blackhole/ha_blackhole.h

  • Committer: Brian Aker
  • Date: 2010-11-08 18:54:26 UTC
  • mto: (1921.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 1916.
  • Revision ID: brian@tangent.org-20101108185426-fymkf2xnelupf11x
Rename lock methods to be style + well make sense.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
  You should have received a copy of the GNU General Public License
13
13
  along with this program; if not, write to the Free Software
14
 
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
 
14
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
15
15
 
16
16
 
17
17
#ifndef PLUGIN_BLACKHOLE_HA_BLACKHOLE_H
51
51
 
52
52
public:
53
53
  ha_blackhole(drizzled::plugin::StorageEngine &engine,
54
 
               drizzled::TableShare &table_arg);
 
54
               drizzled::Table &table_arg);
55
55
  ~ha_blackhole()
56
56
  {}
57
57
 
63
63
  uint32_t index_flags(uint32_t inx) const;
64
64
  int open(const char *name, int mode, uint32_t test_if_locked);
65
65
  int close(void);
66
 
  int write_row(unsigned char * buf);
67
 
  int rnd_init(bool scan);
 
66
  int doInsertRecord(unsigned char * buf);
 
67
  int doStartTableScan(bool scan);
68
68
  int rnd_next(unsigned char *buf);
69
69
  int rnd_pos(unsigned char * buf, unsigned char *pos);
70
70
  BlackholeShare *get_share(const char *table_name);