ITS#2962 - EBCDIC db_version string

This commit is contained in:
Howard Chu 2004-02-13 00:53:02 +00:00
parent b36e3a1ab0
commit 4479b4c417

View File

@ -152,8 +152,16 @@ int ldbm_initialize( const char* home )
{
char *version;
#ifdef HAVE_EBCDIC
char v2[1024];
#endif
int major, minor, patch;
version = db_version( &major, &minor, &patch );
#ifdef HAVE_EBCDIC
strcpy( v2, version );
__etoa( v2 );
version = v2;
#endif
if( major != DB_VERSION_MAJOR ||
minor < DB_VERSION_MINOR )