niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Berkeley DB
[DBXML] 1.2 & 2.0 Data migration
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
Young-il, Shin
*nix forums beginner


Joined: 07 Apr 2005
Posts: 3

PostPosted: Thu Apr 07, 2005 5:17 am    Post subject: [DBXML] 1.2 & 2.0 Data migration Reply with quote

Hello...

I am woking with MSVC++ 6.0 on Win32 Platforms, using DBXML 2.0.9.

I have 1.2 version's .dbxml files.

meet crash when I use dbenv.open() function.

How to check .dbxml version & migration.

Help me.

Young-il, Shin
yishin71@gmail.com

~~

m_DbEnv.open(m_strDbPath.c_str(), env_flags, 0);

//
m_pManager = new XmlManager(&m_DbEnv, 0);
Back to top
Michael Cahill
*nix forums Guru Wannabe


Joined: 26 May 2005
Posts: 219

PostPosted: Thu Apr 07, 2005 10:08 am    Post subject: Re: 1.2 & 2.0 Data migration Reply with quote

That shouldn't crash, it should return an error, since the environment
created with DB XML 1.2 is a different version from the DB XML 2.0.9
code.

To migrate the data, use the dbxml_dump utility from DB XML 1.2 and
load the result with dbxml_load from DB XML 2.0.9.

Regards,
Michael.
Back to top
Young-il, Shin
*nix forums beginner


Joined: 07 Apr 2005
Posts: 3

PostPosted: Thu Apr 07, 2005 11:02 am    Post subject: Re: 1.2 & 2.0 Data migration Reply with quote

Thank you for your response.

That's are good information for me.

In fact, I tring debug And I found real crash point.

m_Container = m_pManager->openContainer(Txn, strDbName, containerFlags);
<-- Crashed.


Young-il, Shin.


"Michael Cahill" <mjc@sleepycat.com> wrote in message
news:1112875713.390634.102290@l41g2000cwc.googlegroups.com...
Quote:
That shouldn't crash, it should return an error, since the environment
created with DB XML 1.2 is a different version from the DB XML 2.0.9
code.

To migrate the data, use the dbxml_dump utility from DB XML 1.2 and
load the result with dbxml_load from DB XML 2.0.9.

Regards,
Michael.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 3:31 am | All times are GMT
navigation Forum index » Databases » Berkeley DB
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Bug#379103: ITP: complearn-gui -- 3D drag-and-drop interf... Rudi Cilibrasi devel 0 Fri Jul 21, 2006 11:00 am
No new posts Bug#379087: ITP: libcomplearn -- data-compression based i... Rudi Cilibrasi devel 0 Fri Jul 21, 2006 7:40 am
No new posts How do I render JPEG Data stored in char* buffer? On the Sparrow C++ 2 Thu Jul 20, 2006 8:44 pm
No new posts ANNOUNCE: Data-centric PHP framework (GPL) Kenneth Downs PHP 0 Thu Jul 20, 2006 6:11 pm
No new posts problem updatenodes in dbxml mahdieh Berkeley DB 0 Thu Jul 20, 2006 5:15 pm

Loans | Libros arquitectura | Loans | Credit Reports | Cheap Loan
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1717s ][ Queries: 16 (0.0981s) ][ GZIP on - Debug on ]