Don't allow 8bytes for data file pointers for now.

parent b60175f9
...@@ -723,10 +723,13 @@ err: ...@@ -723,10 +723,13 @@ err:
uint mi_get_pointer_length(ulonglong file_length, uint def) uint mi_get_pointer_length(ulonglong file_length, uint def)
{ {
DBUG_ASSERT(def >= 2 && def <= 7);
if (file_length) /* If not default */ if (file_length) /* If not default */
{ {
#ifdef NOT_YET_READY_FOR_8_BYTE_POINTERS
if (file_length >= (longlong) 1 << 56) if (file_length >= (longlong) 1 << 56)
def=8; def=8;
#endif
if (file_length >= (longlong) 1 << 48) if (file_length >= (longlong) 1 << 48)
def=7; def=7;
if (file_length >= (longlong) 1 << 40) if (file_length >= (longlong) 1 << 40)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment