Skip to content

Commit

Permalink
functions: Silence error message from isolation lvl detection
Browse files Browse the repository at this point in the history
Fixes: #550
  • Loading branch information
jcormier committed Mar 28, 2024
1 parent 6ab357c commit 32c7283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/runtime/functions
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ redmine_check_mysql_database_tx_isolation() {
--skip-column-names \
--silent "
if ! isolation_lvl=$( MYSQL_PWD="${DB_PASS}" $mysql_cmd \
--execute="SELECT @@GLOBAL.tx_isolation;" )
--execute="SELECT @@GLOBAL.tx_isolation;" 2> /dev/null )
then
# try the new name of the variable, mysql 8+
if ! isolation_lvl=$( MYSQL_PWD="${DB_PASS}" $mysql_cmd \
Expand Down

0 comments on commit 32c7283

Please sign in to comment.