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

18 lines
1.0 KiB
Plaintext

=== on 13 May 2014, 15:32:57 Freddy Mallet wrote:
Spec updated @Ann to make this spec supporting two exceptions (COBOL-1053)
=== on 25 Nov 2014, 09:55:29 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 25 Nov 2014, 10:06:30 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 25 Nov 2014, 10:19:51 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.