}
continue;
+
+
case 'index':
// alter table xxx add index indexname(a,b,c);
$this->getTok();
}
$this->raiseError("Expecting ', or )' got " . $this->token);
}
+
// @ ), or ;
$this->getTok();
- if ($this->token != ';' && $this->token != ',') {
+ if ($this->token != ';' && $this->token != ',') {
$this->raiseError("expection ', or ;' got " . $this->token);
}
default:
throw new Exception("do not know how to handle: " . $action['what']);
}
- break; // end loop...
+
+ throw new Exception("We should not get here");
default:
$this->raiseError('Unknown object to create');
}
+
+
throw new Exception("Can not handle ". $tree['command'] . " yet");
}