From 65d585496c4f587ac3bd08a677702c541cff8ed6 Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 4 Jan 2024 19:07:08 +0100 Subject: [PATCH] Document sql_flags option introduced in 00c7600 --- src/ejabberd_options_doc.erl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ejabberd_options_doc.erl b/src/ejabberd_options_doc.erl index 25edecf80..b8c89f914 100644 --- a/src/ejabberd_options_doc.erl +++ b/src/ejabberd_options_doc.erl @@ -1359,6 +1359,12 @@ doc() -> desc => ?T("This option is 'true' by default, and is useful to disable " "prepared statements. The option is valid for PostgreSQL and MySQL.")}}, + {sql_flags, + #{value => "[mysql_alternative_upsert]", + note => "added in 24.01", + desc => + ?T("This option accepts a list of SQL flags, and is empty by default. " + "'mysql_alternative_upsert' forces the alternative upsert implementation in MySQL.")}}, {sql_query_timeout, #{value => "timeout()", desc =>