[Mydatabasepilot-cvs] MyDatabasePilot/dbProcessInit AddField.cfm,1.23,1.24
Status: Alpha
Brought to you by:
nanoface
From: <nan...@us...> - 2003-07-18 14:46:34
|
Update of /cvsroot/mydatabasepilot/MyDatabasePilot/dbProcessInit In directory sc8-pr-cvs1:/tmp/cvs-serv24296/dbProcessInit Modified Files: AddField.cfm Log Message: Functionality Added: [ 773691 ] Added "ADD INDEX" AlterSpec Index: AddField.cfm =================================================================== RCS file: /cvsroot/mydatabasepilot/MyDatabasePilot/dbProcessInit/AddField.cfm,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** AddField.cfm 18 Jul 2003 14:33:33 -0000 1.23 --- AddField.cfm 18 Jul 2003 14:46:31 -0000 1.24 *************** *** 108,112 **** } /* Else If its a plain "Index" ... */ ! // else if(alterSpec[i].key IS "Index"){} /* Else If its a "Fulltext" index ... */ --- 108,124 ---- } /* Else If its a plain "Index" ... */ ! else if(alterSpec[i].key IS "Index"){ ! tempStruct=StructNew(); // Create a Temporary Structure for each new plain index ! tempStruct.format="ADD INDEX"; // Create Key "format" ! ! // Create index name ! tempStruct.indexName=alterSpec[i].indexName; ! ! // Create index column names Array ! tempStruct.index_col_names=ArrayNew(1); ! tempStruct.index_col_names[1]=alterSpec[i].colName; ! ! ArrayAppend(alterSpec, tempStruct); // Add the Temporary Sturcture to alterSpec ! } /* Else If its a "Fulltext" index ... */ |