~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/myisam.h

  • Committer: Brian Aker
  • Date: 2010-06-28 16:17:36 UTC
  • mfrom: (1637.4.1 drizzle)
  • Revision ID: brian@gaz-20100628161736-eormhb2mnd551i2h
Merge unused

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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
 
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
16
/* This file should be included when using myisam_funktions */
17
17
 
18
18
#ifndef PLUGIN_MYISAM_MYISAM_H
19
19
#define PLUGIN_MYISAM_MYISAM_H
20
20
 
21
 
#include "drizzled/identifier.h"
22
 
 
23
21
#include <drizzled/key_map.h>
24
22
 
25
23
#include <drizzled/base.h>
164
162
  uint32_t old_options;
165
163
  uint8_t language;
166
164
  bool with_auto_increment;
167
 
 
168
 
  st_mi_create_info():
169
 
    index_file_name(0),
170
 
    data_file_name(0),
171
 
    max_rows(0),
172
 
    reloc_rows(0),
173
 
    auto_increment(0),
174
 
    data_file_length(0),
175
 
    key_file_length(0),
176
 
    old_options(0),
177
 
    language(0),
178
 
    with_auto_increment(0)
179
 
  { }
180
 
 
181
165
} MI_CREATE_INFO;
182
166
 
183
167
struct st_myisam_info;                  /* For referense */
277
261
 
278
262
extern int mi_close(struct st_myisam_info *file);
279
263
extern int mi_delete(struct st_myisam_info *file,const unsigned char *buff);
280
 
extern struct st_myisam_info *mi_open(const drizzled::identifier::Table &identifier,
281
 
                                      int mode,
 
264
extern struct st_myisam_info *mi_open(const char *name,int mode,
282
265
                                      uint32_t wait_if_locked);
283
266
extern int mi_panic(enum drizzled::ha_panic_function function);
284
267
extern int mi_rfirst(struct st_myisam_info *file,unsigned char *buf,int inx);