Commit 9d5f6a37 authored by phenigma's avatar phenigma

Refs #2648 - imports should set psc_mod values to NULL, not zero or master's value.

parent 2ca09707
......@@ -1753,7 +1753,7 @@ void Database::ListBatchContents()
if( atoi(row2[1])==toc_Delete && strcmp(result_set2.r->fields[iField].name,"psc_id")!=0 )
continue;
if( strcmp(result_set2.r->fields[iField].name,"psc_batch")==0 ||
strcmp(result_set2.r->fields[iField].name,"psc_mod")==0 ||
// strcmp(result_set2.r->fields[iField].name,"psc_mod")==0 ||
strcmp(result_set2.r->fields[iField].name,"psc_toc")==0 )
continue;
......
......@@ -1176,6 +1176,8 @@ int k=2;
sSQL << ",";
string Value = str.m_vectString[pos++];
if ( *it == "psc_mod" )
Value = NULL_TOKEN;
if( bUpdate )
sSQL << " `" << *it << "`=";
......
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