Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Xbase Codebase > Is It Possible ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 256 of 304
Post > Topic >>

Is It Possible to Recompile/Rebuild CodeBase to Sup****t Larger Index Key Size Beyond 338 Bytes?

by macauit@[EMAIL PROTECTED] Aug 14, 2006 at 11:47 PM

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!
 




 1 Posts in Topic:
Is It Possible to Recompile/Rebuild CodeBase to Sup****t Larger I
macauit@[EMAIL PROTECTED]  2006-08-14 23:47:05 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Tue Jul 8 23:17:56 CDT 2008.