fix: audit tables should not have foreign keys
authorkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Tue, 5 Jan 2010 15:12:32 +0000 (15:12 +0000)
committerkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Tue, 5 Jan 2010 15:12:32 +0000 (15:12 +0000)
git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@404 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33

woc/processor.cpp

index 5ec9e2b..279a93c 100644 (file)
@@ -1048,6 +1048,8 @@ WocTable WocTable::auditTable()const
                cl.isprime=cl.isunique=false;
                cl.methodcalls.clear();
                if(cl.type.left(3)=="seq")cl.type="int"+cl.type.mid(3);
+               //no foreign keys
+               cl.foreign="";
                //add
                adt.m_columns.append(cl);
        }