mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Don't allow 8bytes for data file pointers for now.
This commit is contained in:
parent
b60175f9c4
commit
15d4217c58
1 changed files with 3 additions and 0 deletions
|
@ -723,10 +723,13 @@ err:
|
|||
|
||||
uint mi_get_pointer_length(ulonglong file_length, uint def)
|
||||
{
|
||||
DBUG_ASSERT(def >= 2 && def <= 7);
|
||||
if (file_length) /* If not default */
|
||||
{
|
||||
#ifdef NOT_YET_READY_FOR_8_BYTE_POINTERS
|
||||
if (file_length >= (longlong) 1 << 56)
|
||||
def=8;
|
||||
#endif
|
||||
if (file_length >= (longlong) 1 << 48)
|
||||
def=7;
|
||||
if (file_length >= (longlong) 1 << 40)
|
||||
|
|
Loading…
Reference in a new issue