VCS: Code can be edited if check out fails

Brian Baker

Member²
We have the preference "Allow compilation of read-only source files" disabled. If I open a package spec & body and then attempt to check-out, I will be able to edit and compile the package even if the check-out fails. In this case it is because the file is pinned in Visual SourceSafe.

I would expect to receive a message that the check-out could not be completed.
 
Is the file still read-only? If SourceSafe provides a writable file after such a failure, then you can indeed edit and compile in PL/SQL Developer.
 
In this case we are also using the VCS Preference "Allow version control over DB objects", so a local file may not even be created. If the file does previously exist in the working folder, it remains read-only.
 
Back
Top