src/btree/utils.c
/*=========================================
 * rkey2str -- Convert record key to STRING
 *  returns static buffer
 *=======================================*/
- Convert record key to STRING
returns static buffer
- Convert record key to STRING returns static buffer
STRING
rkey2str (RKEY rkey)
{
	static char rbuf[RKEYLEN+1];
	INT i;
	for (i = 0; i < RKEYLEN; i++)
		rbuf[i] = rkey.r_rkey[i];
	rbuf[RKEYLEN] = 0;
	for (i = 0; rbuf[i] == ' '; i++)
		;
	return &rbuf[i];
}
STRING rkey2str ( RKEY rkey ) { static char rbuf [ RKEYLEN + 1 ] ; INT i ; for ( i = 0 ; i < RKEYLEN ; i ++ ) rbuf [ i ] = rkey . r_rkey [ i ] ; rbuf [ RKEYLEN ] = 0 ; for ( i = 0 ; rbuf [ i ] == ' ' ; i ++ ) ; return & rbuf [ i ] ; }
rkey2str -- Convert record key to STRING
  returns static buffer
rkey2str -- Convert record key to STRING returns static buffer