You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-498 Passed test100.
This commit is contained in:
Binary file not shown.
@ -1104,7 +1104,7 @@ int FileOp::initColumnExtent(
|
|||||||
|
|
||||||
int savedErrno = 0;
|
int savedErrno = 0;
|
||||||
// MCOL-498 Try to preallocate the space, fallback to write if fallocate has failed
|
// MCOL-498 Try to preallocate the space, fallback to write if fallocate has failed
|
||||||
if (!bOptExtension || pFile->fallocate(0, currFileSize, writeSize))
|
if ( !bOptExtension || ( nBlocks < 300 && pFile->fallocate(0, currFileSize, writeSize) ))
|
||||||
{
|
{
|
||||||
savedErrno = errno;
|
savedErrno = errno;
|
||||||
// Log the failed fallocate() call result
|
// Log the failed fallocate() call result
|
||||||
@ -1870,7 +1870,7 @@ int FileOp::initDctnryExtent(
|
|||||||
int savedErrno = 0;
|
int savedErrno = 0;
|
||||||
// MCOL-498 Try to preallocate the space, fallback to write if fallocate
|
// MCOL-498 Try to preallocate the space, fallback to write if fallocate
|
||||||
// has failed
|
// has failed
|
||||||
if (!bOptExtension || pFile->fallocate(0, currFileSize, writeSize))
|
//if (!bOptExtension || pFile->fallocate(0, currFileSize, writeSize))
|
||||||
{
|
{
|
||||||
// Log the failed fallocate() call result
|
// Log the failed fallocate() call result
|
||||||
if ( bOptExtension )
|
if ( bOptExtension )
|
||||||
|
Reference in New Issue
Block a user