mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
- Commit changes on memory mapping that hopefully should now work on Linux.
modified: storage/connect/maputil.cpp storage/connect/tabdos.cpp storage/connect/tabfmt.cpp storage/connect/tabvct.cpp
This commit is contained in:
@@ -197,13 +197,9 @@ PTDB VCTDEF::GetTable(PGLOBAL g, MODE mode)
|
||||
/*********************************************************************/
|
||||
// Mapping not used for insert (except for true VEC not split tables)
|
||||
// or when UseTemp is forced
|
||||
#if defined(WIN32)
|
||||
bool map = Mapped && (Estimate || mode != MODE_INSERT) &&
|
||||
!(PlgGetUser(g)->UseTemp == TMP_FORCE &&
|
||||
(mode == MODE_UPDATE || mode == MODE_DELETE));
|
||||
#else // !WIN32
|
||||
bool map = Mapped && mode == MODE_READ;
|
||||
#endif // !WIN32
|
||||
PTXF txfp;
|
||||
PTDB tdbp;
|
||||
|
||||
|
Reference in New Issue
Block a user