src/btree/utils.c
/*======================================
 * path2fkey -- Convert path to file key
 *====================================*/
- Convert path to file key
- Convert path to file key
FKEY
path2fkey (STRING path)
{
	INT16 hi = (path[0] - 'a') * 26 + (path[1] - 'a');
	INT16 lo = (path[3] - 'a') * 26 + (path[4] - 'a');
	return (FKEY)((hi<<16) + lo);
}
FKEY path2fkey ( STRING path ) { INT16 hi = ( path [ 0 ] - ' ' ) * 26 + ( path [ 1 ] - ' ' ) ; INT16 lo = ( path [ 3 ] - ' ' ) * 26 + ( path [ 4 ] - ' ' ) ; return ( FKEY ) ( ( hi << 16 ) + lo ) ; }
path2fkey -- Convert path to file key
path2fkey -- Convert path to file key