home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!gossip.pyramid.com!pyramid!infmx!aland
- From: aland@informix.com (Colonel Panic)
- Newsgroups: comp.databases.informix
- Subject: Re: SQL 2.10.03 problem: cannot UPDATE table
- Message-ID: <1992Dec15.032744.7745@informix.com>
- Date: 15 Dec 92 03:27:44 GMT
- References: <Dec.10.18.05.40.1992.25678@net.bio.net>
- Sender: news@informix.com (Usenet News)
- Organization: Enterprise Technology Center, Informix Software, Inc.
- Lines: 47
-
- In article <Dec.10.18.05.40.1992.25678@net.bio.net> charleen@net.bio.net (Charleen Bunjiovianna) writes:
- |A user wants to delete a row from a table. The query:
- |
- |delete from ft
- |where entry_name = "P90589";
- |
- |dies with:
- |
- | 263: Could not lock row for UPDATE.
- |
- |There is no possibility the table or row is being used by anyone
- |else. A number of other rows have been deleted from the same table
- |without incident. We've tried emptying the lock file. No luck.
- |
- |Just for kicks, I created a new table, ft_new (using ft's dbschema output)
- |and got this when I tried to fill it:
- |
- |insert into ft_new
- |select * from ft;
- |
- | 534: Could not insert new row into the table, table is locked.
- |
- | 107: C-ISAM error: record is locked.
- |
- |(BTW, the manual says to "see C-ISAM error", but there's no explanation
- | of C-ISAM error messages. Do we need to buy a C-ISAM manual?)
- |
- |I can select * from ft with no problem.
- |
- |Now it gets fun. I run bcheck by doing a CHECK TABLE: (bcheck -n)
- |
- |BCHECK C-ISAM B-tree Checker version 1.07
- |Copyright (C) 1981-1988 Informix Software, Inc.
- |Software Serial Number RDS#R537699
-
- MAJOR red flag. 1.07 is terribly old -- I'd guess that you have some old
- product based on an old version of C-ISAM (e.g. MF COBOL, among others)
- that has you running the wrong bcheck for 2.10.03 databases. That
- bcheck could be corrupting your indexes. Try that first. Otherwise,
- specify your platform details in your next post.
-
- |Charleen
-
- --
- Alan Denney aland@informix.com {pyramid|uunet}!infmx!aland
-
- "What does not kill me, makes me stronger." - Nietzsche
-