dbTalk Databases Forums  

Compiling BerkeleyDB with Visual Studio 2005

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss Compiling BerkeleyDB with Visual Studio 2005 in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gerard J. Nicol
 
Posts: n/a

Default Compiling BerkeleyDB with Visual Studio 2005 - 12-19-2005 , 06:28 PM






I am in the process of upgrading from Visual C++ 2003 to 2005.

By default 2005 now declares all time_t and time functions as
__time64_t and not the previous __time32_t.

After rebuilding the BerkeleyDB with the new 64 bit time values, is it
necessary to delete environments created by a library with 32 bit time
structures?

Gerard


Reply With Quote
  #2  
Old   
Michael Cahill
 
Posts: n/a

Default Re: Compiling BerkeleyDB with Visual Studio 2005 - 12-19-2005 , 09:38 PM






Hi Gerard

Quote:
By default 2005 now declares all time_t and time functions as
__time64_t and not the previous __time32_t.

After rebuilding the BerkeleyDB with the new 64 bit time values, is it
necessary to delete environments created by a library with 32 bit time
structures?
Yes, there are embedded time_t values in the shared memory regions, so
you will need to recreate them. If that application is transactional
and you open the environment with the DB_RECOVER flag, that will take
care of removing and recreating the regions for you.

Regards,
Michael.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.