I have a case of a damaged database, where the only damage appears to be
that somehow the index uniqueness constraint is violated.  As long as the
operations don't touch the index, the db operates without complaint.

I was eventually able to construct a copy with good indexes, but

1) the generic error 11 "database corrupt" could have been more
specific.  It would have been handy to know that the complaint was
about duplicate indexes, and which index, or even which table was
involved.

2) it wasn't possible to drop the index in question.  Or even the
whole table containing the index.  If I could have dropped the 
offending index, I could have removed the duplicates and recreated
the index without requiring major surgery.

3) maybe I missed something - there was an easier way?

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to