Update of /cvsroot/mydatabasepilot/MyDatabasePilot/dbProcessInit
In directory sc8-pr-cvs1:/tmp/cvs-serv25361/dbProcessInit
Modified Files:
AddField.cfm
Log Message:
Functionality Added:
[ 773696 ] Added "ADD FULLTEXT" AlterSpec
Index: AddField.cfm
===================================================================
RCS file: /cvsroot/mydatabasepilot/MyDatabasePilot/dbProcessInit/AddField.cfm,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** AddField.cfm 18 Jul 2003 14:46:31 -0000 1.24
--- AddField.cfm 18 Jul 2003 14:53:25 -0000 1.25
***************
*** 123,127 ****
/* Else If its a "Fulltext" index ... */
! // else if(alterSpec[i].key IS "Fulltext"){}
</cfscript>
</cfloop>
--- 123,139 ----
/* Else If its a "Fulltext" index ... */
! else if(alterSpec[i].key IS "Fulltext"){
! tempStruct=StructNew(); // Create a Temporary Structure for each new Fulltext index
! tempStruct.format="ADD FULLTEXT"; // 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
! }
</cfscript>
</cfloop>
|