1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Backed out the new LARGEFILE patch as it broked several things

acinclude.m4:
  Backed out the new LARGEFILE patch as it broked several things
  on Linux
configure.in:
  Backed out the new LARGEFILE patch as it broked several things
  on Linux
include/my_sys.h:
  Store names for temporary files
sql/mysqld.cc:
  Fixed small problem with pid files
This commit is contained in:
unknown
2000-12-16 14:26:00 +02:00
parent 617acd7c2e
commit 77a3ea5103
4 changed files with 117 additions and 59 deletions

View File

@ -250,7 +250,7 @@ typedef struct st_record_cache /* Used when cacheing records */
} RECORD_CACHE;
enum file_type { UNOPEN = 0, FILE_BY_OPEN, FILE_BY_CREATE,
STREAM_BY_FOPEN, STREAM_BY_FDOPEN };
STREAM_BY_FOPEN, STREAM_BY_FDOPEN, FILE_BY_MKSTEMP };
extern struct my_file_info
{
@ -378,6 +378,9 @@ extern gptr my_once_alloc(uint Size,myf MyFlags);
extern void my_once_free(void);
extern my_string my_tempnam(const char *dir,const char *pfx,myf MyFlags);
extern File my_open(const char *FileName,int Flags,myf MyFlags);
extern File my_register_filename(File fd, const char *FileName,
uint type_of_open, uint error_message_number,
myf MyFlags);
extern File my_create(const char *FileName,int CreateFlags,
int AccsesFlags, myf MyFlags);
extern int my_close(File Filedes,myf MyFlags);