1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

- Resetting chmod to non executable

modified:
  storage/connect/maputil.cpp*
This commit is contained in:
unknown
2013-03-11 18:35:51 +01:00
parent dd72f03f95
commit ad020e2c45
2 changed files with 4 additions and 0 deletions

View File

@@ -192,7 +192,11 @@ bool MAPFAM::OpenTableFile(PGLOBAL g)
return true; return true;
} // endif Memory } // endif Memory
#if defined(WIN32)
if (mode != MODE_DELETE) { if (mode != MODE_DELETE) {
#else // !WIN32
if (mode == MODE_READ) {
#endif // !WIN32
CloseFileHandle(hFile); // Not used anymore CloseFileHandle(hFile); // Not used anymore
hFile = INVALID_HANDLE_VALUE; // For Fblock hFile = INVALID_HANDLE_VALUE; // For Fblock
} // endif Mode } // endif Mode

0
storage/connect/maputil.cpp Executable file → Normal file
View File