summaryrefslogtreecommitdiff
path: root/mysys/my_chsize.c
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2001-01-15 22:56:44 +0200
committerunknown <monty@donna.mysql.com>2001-01-15 22:56:44 +0200
commitc753f496a6fa930b8307d1f4463c27532d9c6bb2 (patch)
treeefab60ad01bef9812e6926f3759f8814900a4e4a /mysys/my_chsize.c
parent1f23f87f06e10ba616b7ae96757cdd8f0d0cc07b (diff)
downloadmariadb-git-c753f496a6fa930b8307d1f4463c27532d9c6bb2.tar.gz
Fixes for mysqltest
Docs/manual.texi: More information about INSERT DELAYED client/mysqltest.c: Added syntax -- error # mysql-test/mysql-test-run.sh: Don't stop server that isn't started mysql-test/t/bdb.test: Change to use -- error # mysys/my_chsize.c: Fix for last commit sql/field.cc: Fix for purify and opt_range.cc sql/ha_berkeley.cc: Purecoverage hints
Diffstat (limited to 'mysys/my_chsize.c')
-rw-r--r--mysys/my_chsize.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mysys/my_chsize.c b/mysys/my_chsize.c
index fe44ff1b12e..2c07e8d136f 100644
--- a/mysys/my_chsize.c
+++ b/mysys/my_chsize.c
@@ -69,7 +69,6 @@ int my_chsize(File fd, my_off_t newlength, myf MyFlags)
#endif
/* Full file with 0 until it's as big as requested */
bzero(buff,IO_SIZE);
- my_seek(fd, old_length, MY_SEEK_SET, MYF(MY_WME+MY_FAE));
while (newlength-oldsize > IO_SIZE)
{
if (my_write(fd,(byte*) buff,IO_SIZE,MYF(MY_NABP)))