winix_fullmorm #4
|
@ -408,8 +408,7 @@ bool Model::insert(ModelData * model_data, bool insert_whole_tree)
|
||||||
bool Model::insert_tree(bool insert_whole_tree)
|
bool Model::insert_tree(bool insert_whole_tree)
|
||||||
{
|
{
|
||||||
bool result = false;
|
bool result = false;
|
||||||
has_primary_key_set = false; // the key will be overwritten (the database will create a new key)
|
model_env->has_primary_key_set = has_primary_key_set;
|
||||||
model_env->has_primary_key_set = false;
|
|
||||||
|
|
||||||
if( insert_whole_tree )
|
if( insert_whole_tree )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue