Changeset 9131 for trunk/MagicSoft/Mars/datacenter/tools
- Timestamp:
- 08/25/08 17:29:28 (17 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/tools/fillobjects.C
r8405 r9131 118 118 119 119 query+=Form(", fObjectName='%s/%s'", (*arr)[0]->GetName(), (*arr)[1]->GetName()); 120 where=Form(" fObjectName='%s/%s'", (*arr)[0]->GetName(), (*arr)[1]->GetName()); 120 121 delete arr; 121 122 122 if (serv.Insert ("Object", query)==kFALSE)123 if (serv.InsertUpdate("Object", query, where)==kFALSE) 123 124 return 2; 124 125 num +=1; -
trunk/MagicSoft/Mars/datacenter/tools/fillobjects2.C
r8405 r9131 118 118 119 119 query+=Form(", fObjectName='%s'", object.Data()); 120 where=Form(" fObjectName='%s'", object.Data()); 120 121 121 if (serv.Insert ("Object", query)==kFALSE)122 if (serv.InsertUpdate("Object", query, where)==kFALSE) 122 123 return 2; 123 124 num +=1;
Note:
See TracChangeset
for help on using the changeset viewer.