You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support 2 knew functions:
1) JetGetLock can take a lock on the currently made key in an index rather than just the key of the current row.
2) An optionally unique index, which, if no other actions are taken, acts like a non-unique index. If a grbit is supplied during JetUpdate(), optionally unique indices are enforced as unique indices.
3) Includes an EFV because of the persisted bit indicating new index type.
[Substrate:ab66b31e27e10fa2f58508106cf3f4ee54c6046c]
#define JET_efvRBSTooSoonDeletes 9580 // Allows to decide if we can now perform non-revertable delete even if root page of table was moved recently by shrink or created recently.
681
+
#define JET_efvOptionallyUniqueIndices 9600 // Allows creation of optionally unique indices.
681
682
682
683
// Special format specifiers here
683
684
#define JET_efvUseEngineDefault (0x40000001) // Instructs the engine to use the maximal default supported Engine Format Version. (default)
@@ -4629,6 +4630,11 @@ typedef struct
4629
4630
4630
4631
#define JET_bitReadLock 0x00000001
4631
4632
#define JET_bitWriteLock 0x00000002
4633
+
// end_PubEsent
4634
+
#if ( JET_VERSION >= 0x0A01 )
4635
+
#define JET_bitKeyLock 0x00000004
4636
+
#endif // JET_VERSION >= 0x0A01
4637
+
// begin_PubEsent
4632
4638
4633
4639
/* Constants for JetMove */
4634
4640
@@ -4705,6 +4711,9 @@ typedef struct
4705
4711
#define JET_bitIndexDeferredPopulateCreate 0x00100000 // Only create the index, don't actually populate it.
4706
4712
#define JET_bitIndexDeferredPopulateProcess 0x00200000 // Populate an index that was previously created with JET_bitIndexDeferredPopulateCreate
4707
4713
#endif // JET_VERSION >= 0x0A00
4714
+
#if ( JET_VERSION >= 0x0A01 )
4715
+
#define JET_bitIndexOptionallyUnique 0x00400000 // Index uniqueness is only enforced on updates using JET_bitUpdateEnforceOptionallyUniqueIndices
4716
+
#endif // JET_VERSION >= 0x0A01
4708
4717
4709
4718
// These are not persisted anywhere. These are bits used by the 'Isam layer', a simpler C#-based
4710
4719
// interface to access ESE databases.
@@ -4958,6 +4967,9 @@ typedef struct
4958
4967
#endif // JET_VERSION >= 0x0502
4959
4968
// end_PubEsent
4960
4969
#define JET_bitUpdateNoVersion 0x00000002 // do not create rollback or versioning information for update
0 commit comments