Procházet zdrojové kódy

Cosmetic: "Secondary Index" is not a commonly known database term but used here in contrast to primary; clarified this

Reinier Olislagers před 11 roky
rodič
revize
770baaba67
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      tablemanage.pas

+ 3 - 3
tablemanage.pas

@@ -181,8 +181,8 @@ begin
       if Cells[0, Row] = PKeyName then // Delete primary key
         fmMain.ShowCompleteQueryWindow(fdbIndex,  'Drop Primary Key on Table: ' + fTableName,
           'alter table ' + fTableName + ' DROP constraint ' + ConstraintName, bbRefreshIndices.OnClick)
-      else // Delete secondary key
-        fmMain.ShowCompleteQueryWindow(fdbIndex, 'Drop Secondary Index on table: ' + fTableName,
+      else // Delete normal index
+        fmMain.ShowCompleteQueryWindow(fdbIndex, 'Drop Index on table: ' + fTableName,
           'DROP INDEX ' + Cells[0, Row], bbRefreshIndices.OnClick);
     end;
   end;
@@ -249,7 +249,7 @@ begin
       'add constraint ' + edIndexName.Text + LineEnding +
       'primary key (' + Fields + ')';
     end
-    else    // Secondary index
+    else    // Normal index
     begin
       FirstLine:= 'create ';
       if cxUnique.Checked then