|
|
|
|
|
|
| Author |
Message |
Young-il, Shin *nix forums beginner
Joined: 07 Apr 2005
Posts: 3
|
Posted: Thu Apr 07, 2005 5:17 am Post subject:
[DBXML] 1.2 & 2.0 Data migration
|
|
|
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
|
Posted: Thu Apr 07, 2005 10:08 am Post subject:
Re: 1.2 & 2.0 Data migration
|
|
|
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
|
Posted: Thu Apr 07, 2005 11:02 am Post subject:
Re: 1.2 & 2.0 Data migration
|
|
|
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 |
|
 |
|
|
The time now is Thu Jan 08, 2009 3:31 am | All times are GMT
|
|
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
|
|