Commit fe39a99a authored by Carsten  Rose's avatar Carsten Rose
Browse files

Fixes #7407: MariaDB / Ubuntu 18 complains about missing values if column of...

Fixes #7407: MariaDB / Ubuntu 18 complains about missing values if column of type TEXT isn't explicit specified in INSERT. New default for database.init=SET sql_mode = "NO_ENGINE_SUBSTITUTION"
parent 45771b3a
Pipeline #1087 passed with stage
in 2 minutes and 3 seconds
......@@ -410,7 +410,8 @@ Extension Manager: QFQ Configuration
+-------------------------------+-------------------------------------------------------+----------------------------------------------------------------------------+
| Database |
+-------------------------------+-------------------------------------------------------+----------------------------------------------------------------------------+
| dbInit | dbInit=set names utf8 | Global init for using the database. |
| init | init=SET names utf8; SET sql_mode = | Global init for using the database. For 'sql_mode="NO_ENGINE_SUBSTITUTION"'|
| | "NO_ENGINE_SUBSTITUTION" | see #7407. |
+-------------------------------+-------------------------------------------------------+----------------------------------------------------------------------------+
| update | auto | | *auto*: apply DB Updates only if there is a newer version. |
| | | | *always*: apply DB Updates always, especially play formEditor.sql every |
......
......@@ -71,7 +71,7 @@ showDebugInfo = auto
# cat=database/db1; type=string; label=Init database:Default is 'set names utf8'. Optional. Might set specific settings.
init = set names utf8
init = SET names utf8; SET sql_mode = "NO_ENGINE_SUBSTITUTION";
# cat=database/db; type=string; label=Update QFQ database structures & data:Default is 'auto'. After installing a new QFQ version it might be necessary to apply updates to QFQ database structures and data. 'auto' - apply DB updates only if there is a newer version. 'always' - apply DB updates always, including play formEditor.sql every time QFQ is called - *not* recommended - slow! 'never' - never apply DB Updates.
update = auto
......
Supports Markdown
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