[MDEV-13501] sql_mode=ORACLE does not include STRICT_TRANS_TABLES Created: 2017-08-11  Updated: 2018-04-05

Status: Open
Project: MariaDB Server
Component/s: OTHER
Affects Version/s: 10.3
Fix Version/s: 10.4

Type: Bug Priority: Major
Reporter: Alexander Barkov Assignee: Alexander Barkov
Resolution: Unresolved Votes: 1
Labels: Compatibility


 Description   

This problem was originally reported by Jerome Brauge:

STRICT_TRANS_TABLES is not set in sql_mode=ORACLE.
It should be. The following script should return an error:

set sql_mode=oracle;
create table t1 (c1 integer not null,c2 integer not null);
insert into t1 (c1) values(1);

Query OK, 1 row affected, 1 warning

Sergei also proposes to check if we should set additionally set TRADITIONAL when sql_mode=ORACLE.



 Comments   
Comment by Sergei Golubchik [ 2018-04-05 ]

and SIMULTANEOUS_ASSIGNMENT. But I don't think we can do it in 10.3

Generated at Thu Feb 08 08:06:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.