mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Fixed Bug#11226 and reverted fix for Bug#6993.
Using 8 bytes for data pointer does not work at least on all computers. The result may become 0 or negative number. (mysqld, myisamchk) myisam/mi_create.c: Fixed Bug#11226, "Dynamic table >4GB issue". mysql-test/r/variables.result: Restricted myisam_data_pointer_size back to 7. mysql-test/t/variables.test: Restricted myisam_data_pointer_size back to 7. sql/mysqld.cc: Restricted myisam_data_pointer_size back to 7.
This commit is contained in:
@ -363,9 +363,13 @@ drop table t1;
|
||||
|
||||
#
|
||||
# Bug #6993: myisam_data_pointer_size
|
||||
# Wrong bug report, data pointer size must be restricted to 7,
|
||||
# setting to 8 will not work on all computers, myisamchk and
|
||||
# the server may see a wrong value, such as 0 or negative number
|
||||
# if 8 bytes is set.
|
||||
#
|
||||
|
||||
SET GLOBAL MYISAM_DATA_POINTER_SIZE= 8;
|
||||
SET GLOBAL MYISAM_DATA_POINTER_SIZE= 7;
|
||||
SHOW VARIABLES LIKE 'MYISAM_DATA_POINTER_SIZE';
|
||||
|
||||
#
|
||||
|
Reference in New Issue
Block a user