From: Don S. <do...@se...> - 2003-04-10 19:59:19
|
Did some invesimagating and came to the conclusion that sqlImport in core/Database.php barfs on 'alter table' commands. Mainly it doesn't seem to know when one alter table command ends, so I keep getting "incorrect formatting" errors. I've tried to add a line similar to the "preg_match" for drop table but I can't seem to get my head around it. Once that issue would be resolved, I would probably run into a problem at the end of sqlImport since there is no "alter" case in the switch($command) statement. So if someone with a less fried brain wants to give it a go that would be super. Don. |