implemented tdata tables conversion to new format
[public/netxms.git] / src / server / tools / nxdbmgr / migrate.cpp
index 1c7293d..03692ba 100644 (file)
@@ -1,6 +1,6 @@
 /*
 ** nxdbmgr - NetXMS database manager
-** Copyright (C) 2004-2015 Victor Kirhenshtein
+** Copyright (C) 2004-2016 Victor Kirhenshtein
 **
 ** This program is free software; you can redistribute it and/or modify
 ** it under the terms of the GNU General Public License as published by
@@ -235,7 +235,7 @@ static bool MigrateDataTables()
 
       if (!g_dataOnlyMigration)
       {
-         if (!CreateTDataTables(id))
+         if (!CreateTDataTable(id))
                           break;       // Failed to create tdata tables
       }
 
@@ -244,14 +244,6 @@ static bool MigrateDataTables()
                   _sntprintf(buffer, 1024, _T("tdata_%d"), id);
                   if (!MigrateTable(buffer))
                           break;
-
-         _sntprintf(buffer, 1024, _T("tdata_records_%d"), id);
-                  if (!MigrateTable(buffer))
-                          break;
-
-         _sntprintf(buffer, 1024, _T("tdata_rows_%d"), id);
-                  if (!MigrateTable(buffer))
-                          break;
       }
        }