Turn off Preprocessing?

95 views
Skip to first unread message

Brad Leach

unread,
Mar 29, 2012, 12:35:55 AM3/29/12
to dbup-d...@googlegroups.com
Hi All,

Is there any way to easily turn off preprocessing of scripts? 
I am attempting to insert some test values that have been hashed which include the string "$2a...." . 
However, I believe the script is failing because the preprocessor is picking it up as a variable that it needs to replace.

Cheers,
-Brad

Jake Ginnivan

unread,
Mar 29, 2012, 2:25:45 AM3/29/12
to dbup-d...@googlegroups.com

Hi Brad,

 

The implementation is actually hard coded inside the SqlScriptExecutor, this should possibly be moved into the builder that it adds those preprocessors by default, that way you could clear the pre-processor collection to stop it.

 

I don’t suppose you could submit a unit test showing the failure? We may then be able to make the Variable Substitution more robust.

 

Cheers,

Jake

Reply all
Reply to author
Forward
0 new messages