• unknown's avatar
    BUG#22301 ndb: File_class::size() is not thread safe · 18f66e02
    unknown authored
    
    ndb/include/logger/FileLogHandler.hpp:
      use off_t for file offset
    ndb/include/util/File.hpp:
      use off_t for returning file offset (size)
    ndb/src/common/util/File.cpp:
      make File_class::size(FILE*) safe when having multiple threads writing to
      the file
    18f66e02
File.cpp 3.55 KB