HP3000-L Archives

July 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jerry Fochtman <[log in to unmask]>
Reply To:
Jerry Fochtman <[log in to unmask]>
Date:
Wed, 19 Jul 2000 14:59:02 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (52 lines)
At 12:26 PM 7/19/2000 -0600, Ken Paul wrote:
>I hate to disagree with Tim, but our/Adager's testing seems to indicate that
>it IS an IMAGE bug.
>
>According to the IMAGE documentation, you should be able to DBOPEN a
>database exclusively and then call DBCONTROL mode 13 to add an index as long
>as you have priv mode.  If the database has NO indexes (i.e. it has a
>rootfile version of C2), you get the error message that Jeff Kell reported:
>
> >    TURBOIMAGE ERROR AT $000f5bc; RETURN STATUS = -451
> >    DBCONTROL, MODE 13, ON #1 OF DBCTDB
> >    BTE: Root version less than "C"4.
>
>The problem is that IMAGE shouldn't be CHECKING the rootfile version before
>adding the index, it should add the index and then SET the rootfile version
>to C4 if it needs to.
>
>If an IMAGE database has ONE index and you call DBCONTROL to delete the
>index, IMAGE is correctly removing the index and changing the rootfile
>version back to C2.
>
>This "problem" still exists in the latest version of IMAGE that we are
>testing.

Yes, I would agree that the root cause of the problem is a bug in the
implementation of DBCONTROL when adding an index to a database. We too, have
conveyed this problem to HP.  However, I suspect that few, if any, end-users
have attempted to utilize the privileged DBCONTROL option, which may account
for the low priority on this issue.

Given that this issue has existed since the initial release of btrees and
continues to exist in the latest versions, we took the approach of working
around IMAGE's problem so the user would not be impacted, regardless of what
version of IMAGE btrees was involved.


/jf
                               _\\///_
                              (' o-o ')
___________________________ooOo_( )_OOoo____________________________________

                          Thursday, May 25th

            Today in 1787 - The Constitutional Convention opened in
                            Philadelphia.

___________________________________Oooo_____________________________________
                             oooO  (    )
                            (    )  )  /
                             \  (   (_/
                              \_)

ATOM RSS1 RSS2