[Fdo_issues] SDF: Regenerate inconsistent key tables.

Brent Robinson brent.robinson at autodesk.com
Tue Jan 9 16:35:50 EST 2007


This submission adds a check, when the key table for a class is opened,
to see if it is consistent with the class identity properties. SDF key
tables are constructed differently depending on whether the identity is
a single int32 property. If the Key table is not consistent, and the SDF
connection is not readonly,  then it is dropped and rebuilt. This solves
a problem where an error occurs when a class, with inconsistent key
table, is deleted.

 

Revision: 183

Author: brentrobinson

Date: 5:11:44 PM, Tuesday, January 09, 2007

Message:

Regenerate key table when format inconsistent with that of class
identity.

----

Modified : /branches/3.2.x/Providers/SDF/Src/Provider/KeyDb.cpp

 

 

Revision: 618

Author: brentrobinson

Date: 5:10:45 PM, Tuesday, January 09, 2007

Message:

Detect unexpected key table format.

----

Modified : /branches/3.2.x/Utilities/SQLiteInterface/SQLiteTable.cpp

Modified : /branches/3.2.x/Utilities/SQLiteInterface/SQLiteTable.h

 

Revision: 184

Author: brentrobinson

Date: 5:23:46 PM, Tuesday, January 09, 2007

Message:

Merged from 3.2.x branch.

----

Modified : /trunk/Providers/SDF/Src/Provider/KeyDb.cpp

 

 

Revision: 620

Author: brentrobinson

Date: 5:23:00 PM, Tuesday, January 09, 2007

Message:

Merged from 3.2.x branch.

----

Modified : /trunk/Utilities/SQLiteInterface/SQLiteTable.cpp

Modified : /trunk/Utilities/SQLiteInterface/SQLiteTable.h

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fdo_issues/attachments/20070109/69c6bc23/attachment.html


More information about the Fdo_issues mailing list