Commit c20aa06b authored by claes's avatar claes

Local dbsfile's local metavolumes was inserted in db's merep, which caused...

Local dbsfile's local metavolumes was inserted in db's merep, which caused problems in volref when createing dbsfile
parent 6a00903a
/*
* Proview $Id: wb_vrepdbs.cpp,v 1.48 2006-05-21 22:30:50 lw Exp $
* Proview $Id: wb_vrepdbs.cpp,v 1.49 2006-06-09 13:16:09 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -48,6 +48,10 @@ wb_vrepdbs::wb_vrepdbs(wb_erep *erep, wb_merep *merep, const char *fileName, con
m_vid = vid;
m_cid = cid;
m_isDbsenvLoaded = false;
if (false && isCommonMeta())
m_merep = m_erep->merep();
else
m_merep = new wb_merep(m_erep, (wb_mvrep *)this);
}
wb_vrepdbs::wb_vrepdbs(wb_erep *erep, const char *fileName) : m_erep(erep), m_nRef(0), m_duplicate(false)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment