[MDEV-7499] System variables have broken default values on big endian Created: 2015-01-23  Updated: 2015-02-05  Resolved: 2015-02-05

Status: Closed
Project: MariaDB Server
Component/s: Platform Power
Affects Version/s: 10.1.2
Fix Version/s: 10.1.3

Type: Bug Priority: Major
Reporter: Sergey Vojtovich Assignee: Sergey Vojtovich
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-6478 MariaDB on Power8 Closed
relates to MDEV-7069 Fix buildbot failures in main server ... Stalled

 Description   

This causes test failures like following:

CURRENT_TEST: sys_vars.sysvars_server_notembedded
--- /home/buildbot/maria-slave/power8-vlp01-bintar-debug/build/mysql-test/suite/sys_vars/r/sysvars_server_notembedded.result	2015-01-13 11:51:03.528853400 -0500
+++ /home/buildbot/maria-slave/power8-vlp01-bintar-debug/build/mysql-test/suite/sys_vars/r/sysvars_server_notembedded.reject	2015-01-22 19:30:28.333289927 -0500
@@ -39,7 +39,7 @@
 SESSION_VALUE	NULL
 GLOBAL_VALUE	ON
 GLOBAL_VALUE_ORIGIN	COMPILE-TIME
-DEFAULT_VALUE	ON
+DEFAULT_VALUE	OFF
 VARIABLE_SCOPE	GLOBAL
 VARIABLE_TYPE	BOOLEAN
 VARIABLE_COMMENT	Creating and dropping stored procedures alters ACLs
@@ -221,7 +221,7 @@
 SESSION_VALUE	NULL
 GLOBAL_VALUE	ON
 GLOBAL_VALUE_ORIGIN	COMPILE-TIME
-DEFAULT_VALUE	ON
+DEFAULT_VALUE	OFF
 VARIABLE_SCOPE	GLOBAL
 VARIABLE_TYPE	BOOLEAN
 VARIABLE_COMMENT	Run fast part of group commit in a single thread, to optimize kernel thread scheduling. On by default. Disable to run each transaction in group commit in its own thread, which can be slower at very high concurrency. This option is mostly for testing one algorithm versus the other, and it should not normally be necessary to change it.
@@ -1593,7 +1593,7 @@
 SESSION_VALUE	NULL
 GLOBAL_VALUE	ON
 GLOBAL_VALUE_ORIGIN	CONFIG
-DEFAULT_VALUE	ON
+DEFAULT_VALUE	OFF
 VARIABLE_SCOPE	GLOBAL
 VARIABLE_TYPE	BOOLEAN
 VARIABLE_COMMENT	Enable LOAD DATA LOCAL INFILE

The problem is that some default values are stored as long long and loaded as int.



 Comments   
Comment by Sergey Vojtovich [ 2015-01-30 ]

serg, please review fix for this bug.

Generated at Thu Feb 08 07:20:03 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.