mariadb/storage/csv
unknown e4b46e7af6 Fix for bug #29253: csv table reportedly marked as crashed
Problem: the data file changes made during delete/update are not visible to 
other threads as the file is reopened, so reading data 
with old descriptors might miss the changes.

Fix: reopen the data file before reading if it was reopened during 
delete/update to ensure there's no data behind.

Note: there's no simple test case.


storage/csv/ha_tina.cc:
  Fix for bug #29253: csv table reportedly marked as crashed
    - use the data file version technic to ensure we always see changes
      made by other threads:
        a) increase share->data_file_version each time we reopen the data 
           file, i.e. at the end of update/delete.
        b) compare the local data file version with the shared one each time 
           we want to read data, reopen it if they differ.
storage/csv/ha_tina.h:
  Fix for bug #29253: csv table reportedly marked as crashed
    - use the data file version technic to ensure we always see changes
      made by other threads:
        a) increase share->data_file_version each time we reopen the data 
           file, i.e. at the end og update/delete.
        b) compare the local data file version with shared one each time 
           we want to read data, reopen it if they differ.
2007-07-14 00:13:37 +05:00
..
CMakeLists.txt Merge bk-internal.mysql.com:/data0/bk/mysql-5.1 2007-01-04 19:54:52 +01:00
ha_tina.cc Fix for bug #29253: csv table reportedly marked as crashed 2007-07-14 00:13:37 +05:00
ha_tina.h Fix for bug #29253: csv table reportedly marked as crashed 2007-07-14 00:13:37 +05:00
Makefile.am Merge bk-internal.mysql.com:/data0/bk/mysql-5.1 2007-01-04 19:54:52 +01:00
plug.in Major changes are plug.in files created for almost all storage engines. A few stray BDB references removed. 2006-08-18 21:19:19 -07:00
transparent_file.cc WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
transparent_file.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00