diff options
Diffstat (limited to 'storage/connect/xindex.h')
-rw-r--r-- | storage/connect/xindex.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/connect/xindex.h b/storage/connect/xindex.h index c5ab829b33f..4988a12326a 100644 --- a/storage/connect/xindex.h +++ b/storage/connect/xindex.h @@ -89,6 +89,7 @@ class DllExport INDEXDEF : public BLOCK { /* Index description block */ bool IsUnique(void) {return Unique;} bool IsDynamic(void) {return Dynamic;} bool IsAuto(void) {return AutoInc;} + bool IsValid(void) {return !Invalid;} void SetAuto(bool b) {AutoInc = b;} void SetInvalid(bool b) {Invalid = b;} int GetNparts(void) {return Nparts;} |