original_string: function RenameColumnSQL($tabname,$oldcolumn,$newcolumn,$flds='')
  	{
  		$tabname = $this->TableName ($tabname);
  		if ($flds) {
  			list($lines,$pkey,$idxs) = $this->_GenFields($flds);
  			// genfields can return FALSE at times
  			if ($lines == null) $lines = array();
  			$first  = current($lines);
  			list(,$column_def) = preg_split("/[\t ]+/",$first,2);
  		}
  		return array(sprintf($this->renameColumn,$tabname,$this->NameQuote($oldcolumn),$this->NameQuote($newcolumn),$column_def));
  	}
code: function RenameColumnSQL($tabname,$oldcolumn,$newcolumn,$flds='')
  	{
  		$tabname = $this->TableName ($tabname);
  		if ($flds) {
  			list($lines,$pkey,$idxs) = $this->_GenFields($flds);
  			// genfields can return FALSE at times
  			if ($lines == null) $lines = array();
  			$first  = current($lines);
  			list(,$column_def) = preg_split("/[\t ]+/",$first,2);
  		}
  		return array(sprintf($this->renameColumn,$tabname,$this->NameQuote($oldcolumn),$this->NameQuote($newcolumn),$column_def));
  	}
code_tokens: function RenameColumnSQL ( $ tabname , $ oldcolumn , $ newcolumn , $ flds = '' ) { $ tabname = $ this -> TableName ( $ tabname ) ; if ( $ flds ) { list ( $ lines , $ pkey , $ idxs ) = $ this -> _GenFields ( $ flds ) ; // genfields can return FALSE at times if ( $ lines == null ) $ lines = array ( ) ; $ first = current ( $ lines ) ; list ( , $ column_def ) = preg_split ( "/[\t ]+/" , $ first , 2 ) ; } return array ( sprintf ( $ this -> renameColumn , $ tabname , $ this -> NameQuote ( $ oldcolumn ) , $ this -> NameQuote ( $ newcolumn ) , $ column_def ) ) ; }
docstring: Rename one column
  
  Some DBM's can only do this together with changeing the type of the column (even if that stays the same, eg. mysql)
  @param string $tabname table-name
  @param string $oldcolumn column-name to be renamed
  @param string $newcolumn new column-name
  @param string $flds='' complete column-defintion-string like for AddColumnSQL, only used by mysql atm., default=''
  @return array with SQL strings
docstring_tokens: Rename one column