summaryrefslogtreecommitdiff
path: root/innobase/include/os0file.h
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-05-06 13:42:26 +0300
committerunknown <monty@mysql.com>2004-05-06 13:42:26 +0300
commit29b87b34d79da9e35f4bc5c8e6f89c2c084c7b83 (patch)
tree9a75e17ac46c0c2c536c9050f133f4319e09c69e /innobase/include/os0file.h
parent97794e7e6ae7c1f098a51e63774dd8de9f201e6d (diff)
parentafb882c43a644b79d6a11574160fe8b95d8d3018 (diff)
downloadmariadb-git-29b87b34d79da9e35f4bc5c8e6f89c2c084c7b83.tar.gz
Merge with 4.0 to get security patch for check_grant_colum
innobase/include/os0file.h: Auto merged innobase/os/os0file.c: Auto merged innobase/srv/srv0srv.c: Auto merged mysql-test/r/rpl_server_id2.result: Auto merged sql/ha_innodb.cc: Auto merged sql/slave.cc: Merge with 4.0
Diffstat (limited to 'innobase/include/os0file.h')
-rw-r--r--innobase/include/os0file.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/innobase/include/os0file.h b/innobase/include/os0file.h
index 263142db74f..3eccfcd3be5 100644
--- a/innobase/include/os0file.h
+++ b/innobase/include/os0file.h
@@ -358,6 +358,14 @@ os_file_set_size(
size */
ulint size_high);/* in: most significant 32 bits of size */
/***************************************************************************
+Truncates a file at its current position. */
+
+ibool
+os_file_set_eof(
+/*============*/
+ /* out: TRUE if success */
+ FILE* file); /* in: file to be truncated */
+/***************************************************************************
Flushes the write buffers of a given file to the disk. */
ibool