[racktables-users] Re: Release

  • From: Denis Ovsienko <denis@xxxxxxxxxxxxx>
  • To: "racktables-users" <racktables-users@xxxxxxxxxxxxx>
  • Date: Wed, 07 Nov 2018 20:52:35 +0000

 ---- On Wed, 07 Nov 2018 16:02:24 +0000 Michał Sochoń <kaszpir@xxxxxxxxx> 
wrote ---- 

SQL_MODE management it's outside of the rackables responsibility. 

SQL_MODE is related to the mysql configuration, and it depends on the state 
of the configuration for given mysql instance. That means it behaves 
differently if you create fresh mysql instance or execute upgrade. System 
admins can control if the config files should be updated during the process 
or not.
Racktables as an application should just adapt to the SQL_MODE which is 
shipped with default fresh mysql server installation, and there should be 
note in the racktables release about that mysql change setting and how it 
influences installation.

From what I remember SQL_MODE in newer versions of mysql are more strict, 
and thus closer to official PL/SQL standard.

I am sorry Michal, but on this occasion what you say is wrong. To be able to 
work with assorted versions of MySQL and MariaDB, RackTables manages its 
session SQL mode as suggested in respective documentation guides. This is the 
intended use of this feature.

The bit I need help with is that the pre-release checklist yields a diff in 
SQL_MODE that should not be there, and last time I looked into it I could not 
explain it.

-- 
    Denis Ovsienko



Other related posts: