[MCOL-2060] sql_mode does not include STRICT_TRANS_TABLES by defaults Created: 2019-01-04  Updated: 2021-07-08  Resolved: 2021-07-08

Status: Closed
Project: MariaDB ColumnStore
Component/s: N/A
Affects Version/s: 1.2.2
Fix Version/s: N/A, 1.4.5

Type: Bug Priority: Major
Reporter: Zdravelina Sokolovska (Inactive) Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None

Issue Links:
Relates
relates to MCOL-2059 Strings or empty strings are inserted... Closed

 Description   

sql_mode does not include STRICT_TRANS_TABLES by defaults

note: that will affect both Columnstore or InnoDB tables created under columnstore
installation
note2:builtin innodb_version 10.3.11 and server version 10.3.11-MariaDB
expected :STRICT_TRANS_TABLES is included in sql_mode by defaults referring to MariaDB documentation, from MariaDB server version 10.2.4

MariaDB [a]>  SELECT @@sql_mode;
+-----------------------------------------------------------------------+
| @@sql_mode                                                            |
+-----------------------------------------------------------------------+
| ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION |
+-----------------------------------------------------------------------+
1 row in set (0.005 sec)



 Comments   
Comment by Andrew Hutchings (Inactive) [ 2019-01-04 ]

Accepted that we should fix this in our my.cnf file. Unfortunately this is not something that we could do mid-cycle since it may break user applications / behaviour.

Generated at Thu Feb 08 02:33:26 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.