dropTable,$tabname); if ($this->autoIncrement) { $sInc = $this->_DropAutoIncrement($tabname); if ($sInc) $sql[] = $sInc; } if ( isset ($tableoptions['DROP']) ) { return $sql; } } $s = "CREATE TABLE $tabname (\n"; $s .= implode(",\n", $lines); /** if (sizeof($pkey)>0) { $s .= ",\n PRIMARY KEY ("; $s .= implode(", ",$pkey).")"; } */ if (isset($tableoptions['CONSTRAINTS'])) $s .= "\n".$tableoptions['CONSTRAINTS']; if (isset($tableoptions[$this->upperName.'_CONSTRAINTS'])) $s .= "\n".$tableoptions[$this->upperName.'_CONSTRAINTS']; $s .= "\n)"; if (isset($tableoptions[$this->upperName])) $s .= $tableoptions[$this->upperName]; $sql[] = $s; return $sql; } function AlterColumnSQL($tabname, $flds) { if ($this->debug) $this->outp("AlterColumnSQL not supported"); return array(); } function DropColumnSQL($tabname, $flds) { if ($this->debug) $this->outp("DropColumnSQL not supported"); return array(); } // function MetaType($t,$len=-1,$fieldobj=false) // { // } // function &MetaTables($ttype=false,$showSchema=false,$mask=false) // { // global $ADODB_FETCH_MODE; // } // function &MetaColumns($table,$upper=true) // { // global $ADODB_FETCH_MODE; // } // function MetaPrimaryKeys($table, $owner=false) // { // } // function &MetaIndexes($table, $primary = false, $owner = false) // { // } } ?>