Red Gate forums :: View topic - BUG with Options.IgnoreComments and Defaults
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Comparison SDK Previous Versions
SQL Comparison SDK Previous Versions forum

BUG with Options.IgnoreComments and Defaults

Search in SQL Comparison SDK Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
jpjones75



Joined: 13 Apr 2009
Posts: 4

PostPosted: Wed Feb 01, 2012 10:57 pm    Post subject: BUG with Options.IgnoreComments and Defaults Reply with quote

I had an issue where the SDK was trying to drop and re-create a default. The only difference in the defaults was that one of them had a comment above it (a comment was included in the SQL batch when the default was created). I modified our usage of the SDK to include the Options.IgnoreComments setting. However, it still attempted to drop and re-create the default (it still considered the comment as a difference). This works properly in SQL Compare 8.1.0.360, but does not appear to work propertly in the SDK. I tested comparing stored procedures via the SDK where only comments were different, and the SDK correctly chose not to synchronize the stored procedures (I did not test any other object types). I was able to resolve simply by setting the Options.IncludeDependencies so that the SDK can include these erroneous differences and still update the database successfully. However, this still apears to be a bug in the SDK.
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1116
Location: My desk.

PostPosted: Fri Feb 03, 2012 3:45 pm    Post subject: Reply with quote

Thanks for your post. Which version of the DLLs are you using for your SDK solution?
If it's the ones that originally came with the SDK installer they may be older than the ones that Compare is using. If you amend your solution to point at the DLLs in the SQL Compare program folder, does the same thing happen?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group