Commit 3d56bea3 authored by Monty's avatar Monty

Allow field_name NOT NULL ENABLED

This is for Oracle compatiblity. ENABLED is in Oracle the default case
and just ensures that the NOT NULL constraints will be tested, which is
also default in MariaDB
parent 55b27888
...@@ -6555,6 +6555,11 @@ opt_compressed: ...@@ -6555,6 +6555,11 @@ opt_compressed:
| compressed { } | compressed { }
; ;
opt_enable:
/* empty */ {}
| ENABLE_SYM { }
;
compressed: compressed:
COMPRESSED_SYM opt_compression_method COMPRESSED_SYM opt_compression_method
{ {
...@@ -6581,7 +6586,7 @@ compressed_deprecated_column_attribute: ...@@ -6581,7 +6586,7 @@ compressed_deprecated_column_attribute:
; ;
asrow_attribute: asrow_attribute:
not NULL_SYM not NULL_SYM opt_enable
{ {
Lex->last_field->flags|= NOT_NULL_FLAG; Lex->last_field->flags|= NOT_NULL_FLAG;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment