Skip to content

Commit

Permalink
[fix](case) if enable_feature_binlog=false in frontend config, no nee… (
Browse files Browse the repository at this point in the history
#22692)

if enable_feature_binlog=false in frontend config, no nee…
  • Loading branch information
hello-stephen authored and xiaokang committed Aug 10, 2023
1 parent 7da694e commit fe744a5
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
// under the License.

suite("test_alter_database_property") {
def ret = sql "ADMIN SHOW FRONTEND CONFIG like '%enable_feature_binlog%';"
logger.info("${ret}")
if (ret.size() != 0 && ret[0].size() > 1 && ret[0][1] == 'false') {
logger.info("enable_feature_binlog=false in frontend config, no need to run this case.")
return
}

sql "drop database if exists test_alter_database_property"

sql """
Expand Down

0 comments on commit fe744a5

Please sign in to comment.