git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/mutateops@1016
f203690c-595d-4dc9-a70b-
905162fa7fd2
/** index table type for the "primary" table in a foreign key index */
static final byte PRIMARY_TABLE_TYPE = (byte)1;
+ /** index table type for the "secondary" table in a foreign key index */
+ static final byte SECONDARY_TABLE_TYPE = (byte)2;
+
/** indicate an invalid index number for foreign key field */
private static final int INVALID_INDEX_NUMBER = -1;
otherTableNum = _secondaryTable.getTableDefPageNumber();
otherIdxNum = _secondaryTable.getLogicalIndexCount();
} else {
+ tableType = IndexImpl.SECONDARY_TABLE_TYPE;
otherTableNum = _primaryTable.getTableDefPageNumber();
otherIdxNum = _primaryTable.getLogicalIndexCount();
}