summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2000-12-16 14:26:00 +0200
committerunknown <monty@donna.mysql.com>2000-12-16 14:26:00 +0200
commit6fc748e3c408e2ef3df8f7c5177fa9339ae4ce2e (patch)
tree1b51ef155cbe56793f47118d59e7e635123a25a3 /include
parent5fbb81ff5956083e84e5a74a09752e3ab5c16a4f (diff)
downloadmariadb-git-6fc748e3c408e2ef3df8f7c5177fa9339ae4ce2e.tar.gz
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
Diffstat (limited to 'include')
-rw-r--r--include/my_sys.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index bd56482f8cf..69c71a3669f 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -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);