Hey everyone.  Trying to apply a script change from our repository to our local database, we found what appears to be a bug during a Get Latest attempt.

Here's the relevant snippet of the original procedure:

 PitchByPitch LIKE '%>F%' OR  --Foul

When we ran a Get Latest locally, and choose to "Take Theirs", here is the script that is generated:

PitchByPitch LIKE '%>F%'--Foul --FoulOR    --Foul
You can see that the OR parts of the last few rows have now been commented out, causing a script error.  Also worth noting, this part of the script was not a part that was changed at all in the repository - it was a separate part of the query that had been updated.  SSC should not have modified this part of the query at all.  There must be a unique combination of wildcards, comments and quotes to cause a bit of a hiccup here.

For the record, we're on SSC v7.0.6.8775, SQL 13.0.5264.1.  Thanks.


tslavinsky
0

Comments

1 comment

  • Tianjiao_Li
    @...

    Thanks for reporting this issue.

    It does look like a bug. Can you upgrade to the latest version (7.0.10, you need to turn on frequent update) and let us know if problem persists?
    Tianjiao_Li
    0

Add comment

Please sign in to leave a comment.