Book a Demo

Author Topic: v8 - t_diagramtypest_diagram - wrong index checked  (Read 3202 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
v8 - t_diagramtypest_diagram - wrong index checked
« on: February 25, 2010, 02:03:45 pm »
The new V8 Index pack for SQL Server (MSSQLScriptUpdatePatch_2005-8.xml) includes the snippet:
Code: [Select]
IF EXISTS (SELECT 1 FROM dbo.sysindexes WHERE OBJECT_NAME(id) = 't_diagram' AND name = 'Diagram_Type')
DROP INDEX [t_diagram].[t_diagramtypest_diagram]

This checks for the existence of one index than deletes a different one!

The snippet should read:
Code: [Select]
IF EXISTS (SELECT 1 FROM dbo.sysindexes WHERE OBJECT_NAME(id) = 't_diagram' AND name = 't_diagramtypest_diagram')
DROP INDEX [t_diagram].[t_diagramtypest_diagram]
to delete the superfluous index.

(I haven't checked the Beta2 - but I wouldn't expect it to have changed)

Reported,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: v8 - t_diagramtypest_diagram - wrong index che
« Reply #1 on: February 25, 2010, 09:00:19 pm »
Paolo,

I've reported this a couple of weeks ago and they assured me that it was fixed and that the download was updated.
I haven't checked myself yet.

Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: v8 - t_diagramtypest_diagram - wrong index che
« Reply #2 on: February 26, 2010, 12:14:29 pm »
Quote
Paolo,

I've reported this a couple of weeks ago and they assured me that it was fixed and that the download was updated.
I haven't checked myself yet.

Geert
Now checked and it has been fixed...

I've asked for some date or versioning indication to be attached so that we can see when changes have been made since the last download.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: v8 - t_diagramtypest_diagram - wrong index che
« Reply #3 on: February 26, 2010, 06:56:01 pm »
Quote
I've asked for some date or versioning indication to be attached so that we can see when changes have been made since the last download.

Paolo

That would indeed be a good idea.

Geert