~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/myisam_priv.h

move POW() and POWER() function into math_functions plugin

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 is included by all internal myisam files */
17
17
 
18
18
#ifndef PLUGIN_MYISAM_MYISAM_PRIV_H
19
19
#define PLUGIN_MYISAM_MYISAM_PRIV_H
20
20
 
21
 
#include <config.h>
22
 
 
 
21
#include "config.h"
23
22
#include "myisam.h"                     /* Structs & some defines */
24
23
#include "myisampack.h"                 /* packing of keys */
25
 
#include <drizzled/tree.h>
26
 
#include <drizzled/internal/my_pthread.h>
 
24
#include "drizzled/tree.h"
 
25
#include "drizzled/internal/my_pthread.h"
27
26
#include <drizzled/thr_lock.h>
28
27
#include <drizzled/common.h>
29
 
#include <drizzled/enum.h>
30
28
 
31
29
#include <assert.h>
32
30
#include <fcntl.h>
214
212
  ulong this_process;                   /* processid */
215
213
  ulong last_process;                   /* For table-change-check */
216
214
  ulong last_version;                   /* Version on start */
217
 
  uint64_t options;                     /* Options used */
 
215
  ulong options;                        /* Options used */
218
216
  ulong min_pack_length;                /* Theese are used by packed data */
219
217
  ulong max_pack_length;
220
218
  ulong state_diff_length;
236
234
    not_flushed,
237
235
    temporary,delay_key_write,
238
236
    concurrent_insert;
 
237
  drizzled::THR_LOCK lock;
239
238
  drizzled::internal::my_off_t mmaped_length;
240
239
  uint32_t     nonmmaped_inserts;           /* counter of writing in non-mmaped
241
240
                                           area */
688
687
                                    int file, drizzled::internal::my_off_t filepos);
689
688
extern void _my_store_blob_length(unsigned char *pos,uint32_t pack_length,uint32_t length);
690
689
extern void mi_report_error(int errcode, const char *file_name);
691
 
extern void mi_report_error(drizzled::error_t errcode, const char *file_name);
692
690
extern size_t mi_mmap_pread(MI_INFO *info, unsigned char *Buffer,
693
691
                            size_t Count, drizzled::internal::my_off_t offset, drizzled::myf MyFlags);
694
692
extern size_t mi_mmap_pwrite(MI_INFO *info, const unsigned char *Buffer,