~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/my_sys.h

Merged in changes. 
Edited a the comment test case so deal with our version bump.

Show diffs side-by-side

added added

removed removed

Lines of Context:
154
154
#define TRASH(A,B) /* nothing */
155
155
#endif
156
156
 
157
 
#ifdef HAVE_LARGE_PAGES
158
 
extern uint my_get_large_page_size(void);
159
 
extern uchar * my_large_malloc(size_t size, myf my_flags);
160
 
extern void my_large_free(uchar * ptr, myf my_flags);
161
 
#else
162
 
#define my_get_large_page_size() (0)
163
 
#define my_large_malloc(A,B) my_malloc_lock((A),(B))
164
 
#define my_large_free(A,B) my_free_lock((A),(B))
165
 
#endif /* HAVE_LARGE_PAGES */
166
 
 
167
157
#ifdef HAVE_ALLOCA
168
158
#if defined(__GNUC__) && !defined(HAVE_ALLOCA_H) && ! defined(alloca)
169
159
#define alloca __builtin_alloca
192
182
extern uint my_file_limit;
193
183
extern ulong my_thread_stack_size;
194
184
 
195
 
#ifdef HAVE_LARGE_PAGES
196
 
extern my_bool my_use_large_pages;
197
 
extern uint    my_large_page_size;
198
 
#endif
199
 
 
200
185
/* charsets */
201
186
extern CHARSET_INFO *default_charset_info;
202
187
extern CHARSET_INFO *all_charsets[256];
606
591
extern FILE *my_fopen(const char *FileName,int Flags,myf MyFlags);
607
592
extern FILE *my_fdopen(File Filedes,const char *name, int Flags,myf MyFlags);
608
593
extern int my_fclose(FILE *fd,myf MyFlags);
609
 
extern int my_chsize(File fd,my_off_t newlength, int filler, myf MyFlags);
610
594
extern int my_sync(File fd, myf my_flags);
611
595
extern int my_sync_dir(const char *dir_name, myf my_flags);
612
596
extern int my_sync_dir_by_file(const char *file_name, myf my_flags);
821
805
extern my_bool my_uncompress(uchar *, size_t , size_t *);
822
806
extern uchar *my_compress_alloc(const uchar *packet, size_t *len,
823
807
                                size_t *complen);
824
 
extern int packfrm(uchar *, size_t, uchar **, size_t *);
825
 
extern int unpackfrm(uchar **, size_t *, const uchar *);
826
 
 
827
808
extern ha_checksum my_checksum(ha_checksum crc, const uchar *mem,
828
809
                               size_t count);
829
810
extern void my_sleep(ulong m_seconds);