summaryrefslogtreecommitdiffstats
path: root/.drone.jsonnet
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-03-21 11:19:36 +0100
committerJoas Schilling <coding@schilljs.com>2022-03-22 11:55:36 +0100
commit45c8b748a28ff7ec85c5ad4afe5970bb470e66e3 (patch)
tree27698f99bfe47fdc10c23cbf7b8dfeeaa269d3b5 /.drone.jsonnet
parent8b9fbbdeb1c5998433dca590675ac36076fe028d (diff)
Set MySQL ONLY_FULL_GROUP_BY config
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.drone.jsonnet')
-rw-r--r--.drone.jsonnet3
1 files changed, 2 insertions, 1 deletions
diff --git a/.drone.jsonnet b/.drone.jsonnet
index ad6f39b32..4033c02ae 100644
--- a/.drone.jsonnet
+++ b/.drone.jsonnet
@@ -77,7 +77,8 @@ local PipelineMySQL(test_set) = Pipeline(
command: [
"--innodb_large_prefix=true",
"--innodb_file_format=barracuda",
- "--innodb_file_per_table=true"
+ "--innodb_file_per_table=true",
+ "--sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION"
],
tmpfs: [
"/var/lib/mysql"