CodeBase's index key size has limit up to 338 bytes (Clipper)!
In case of index key does execeed the limit, is it possible to change
the define constants in Codebase and recompile the library like the
follwing in d4defs.h?
#define I4MAX_KEY_SIZE 338
#define I4MAX_KEY_SIZE_COMPATIBLE 338
However, I scan the codes can find some remarks disapproving of that,
for instance,
"if ( r4->keysHalf == 0 && t4->header.groupLen <= (I4MAX_KEY_SIZE + 8))
/* formula doesn't work for large key sizes, work around... for valid
group len <= 346) */
" in R4Reindex.c, etc.
Or the index key size MUST be less that 338 and there is NO way to get
around this limit?
If so, how can applications deal with tables with large index keys?
Your help is appreciated!