rspec/rules/S1069/comments-and-links.adoc

18 lines
1.0 KiB
Plaintext
Raw Normal View History

=== On 2014-05-13T15:32:57Z Freddy Mallet Wrote:
Spec updated @Ann to make this spec supporting two exceptions (COBOL-1053)
=== On 2014-11-25T09:55:29Z Pierre-Yves Nicolas Wrote:
We can identify that an index which is dropped is temporary only if it is prefixed with "SESSION.". It is therefore not possible for the exception which is described:
{code}DROP INDEX X1T09SCO{code}
=== On 2014-11-25T10:06:30Z Freddy Mallet Wrote:
\[~pierre-yves.nicolas], this is possible because if you have a look to the exceptions, you'll see that the index was created earlier on a temporary table.
=== On 2014-11-25T10:19:51Z Pierre-Yves Nicolas Wrote:
Ok, it may be doable but that would make the rule implementation much more complex. What if the create statement is located in another file?
Moreover, I suppose that this exception would be rarely used: a temporary index is usually created on a temporary table, and the temporary index is rarely dropped explicitly because it is implicitly dropped when the temporary table is dropped.