)]}'
{"inc/upgrade":[{"author":{"_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},"change_message_id":"cb68f303cc4dce7a88e244d3a5e8e3e37f0e5697","unresolved":false,"context_lines":[{"line_number":39,"context_line":"            echo ${DATABASE_USER:-root})"},{"line_number":40,"context_line":"    db_names\u003d$(mysql -u$database_user -p$mysql_pass -e \u0027show databases;\u0027)"},{"line_number":41,"context_line":"    for db in $DATABASES_TO_SAVE; do"},{"line_number":42,"context_line":"        if `echo $db_names | grep -q -x $db` ; then"},{"line_number":43,"context_line":"            mysqldump -u$database_user -p$mysql_pass $db \u003e$SAVE_DIR/$db.sql.$release"},{"line_number":44,"context_line":"        else"},{"line_number":45,"context_line":"            echo \"No database with name $db found\""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"9f436f4f_61a6d911","line":42,"updated":"2017-08-16 20:21:28.000000000","message":"A substring compare would be better here:\n\n  if [[ \" $db_names \" \u003d~ \" $db \" ]]; then\n\nNote the surrounding whitespace, should match the delimiter of db_names to prevent false substring positives","commit_id":"627b2521c3c5e7ab826cbb8c9e328953d9b600c8"}]}
