Below is the list of changes that have just been committed into a local
5.1 repository of msvensson. When msvensson does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2322 06/04/11 12:38:21 msvensson@neptunus.(none) +1 -0
Remove the my_seek calls as we have just opened the file for append with O_APPEND and
the file pointer should be at end of the file already.
storage/csv/ha_tina.cc
1.42 06/04/11 12:38:16 msvensson@neptunus.(none) +0 -11
Remove the my_seek calls as we have just opened the file for append with O_APPEND and
the file pointer should be at end of the file already
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: msvensson
# Host: neptunus.(none)
# Root: /home/msvensson/mysql/mysql-5.1
--- 1.41/storage/csv/ha_tina.cc 2006-04-11 12:12:41 +02:00
+++ 1.42/storage/csv/ha_tina.cc 2006-04-11 12:38:16 +02:00
@@ -281,13 +281,6 @@
MYF(0))) == -1)
goto error2;
- /*
- We only use share->data_file for writing, so we scan to
- the end to append
- */
- if (my_seek(share->data_file, 0, SEEK_END, MYF(0)) == MY_FILEPOS_ERROR)
- goto error2;
-
share->mapped_file= NULL; // We don't know the state as we just allocated it
if (get_mmap(share, 0) > 0)
goto error3;
@@ -1278,10 +1271,6 @@
if ((share->data_file= my_open(share->data_file_name, O_RDWR|O_APPEND,
MYF(0))) == -1)
DBUG_RETURN(-1);
-
- /* Seek to end of file, any inserts will be appended there */
- if (my_seek(share->data_file, 0, SEEK_END, MYF(0)) == MY_FILEPOS_ERROR)
- DBUG_RETURN(-1);
if (get_mmap(share, 0) > 0)
DBUG_RETURN(-1);
| Thread |
|---|
| • bk commit into 5.1 tree (msvensson:1.2322) | msvensson | 11 Apr |