jbarker7 / sqlcc

SQL Code Coverage - SQLCC is a code coverage tool that allows developers the ability to track which lines of code within stored procedures, functions, and triggers have been tested in SQL server by integration tests written by the developer.
BSD 4-Clause "Original" or "Old" License
26 stars 22 forks source link

Data scrubber regex does not terminate #16

Open JamieOglethorpeEPS opened 8 years ago

JamieOglethorpeEPS commented 8 years ago

The finalCode = Regex.Replace... statement in DataScrubber.Scrub does not terminate.

scrubArray contains the following values:

The attached file contains a cut down stored procedure illustrating the problem.

sqlcc_data_scrubber_regex_failure.txt

My workaround is to put a breakpoint on this statement and to use Set next statement to skip it.

nickidw commented 8 years ago

This has been fixed in my fork