Lee Daniel Crocker wrote:
(Brion Vibber vibber@aludra.usc.edu): On Fri, 28 Mar 2003, Thomas Corell wrote:
buildTables.inc is currently canonical. It consists of a bunch of SQL statements which are executed in turn, which strikes me as kind of silly. I intended that buildTables.sql replace it, but it hasn't been kept up to date and isn't yet used by anything.
Originally it was the .sql, but I changed it to PHP code because proper initialization of the database requires filling in some data from variables defined in LocalSettings.php. The only reasonable way to do that is with PHP code. Of course, we could change the PHP code to read all the CREATE TABLE/CREATE INDEX type statements from a .sql file.
Ok, usually the next question is: any further 'useless' files? Possibly deleting this file (cvs usually still keeps a copy as far as I know) will cause less confusion ;) Ot at least, if someone plans to use it in the future, add a appropriate comment.
Sorry for asking such a lot silly questions, but it is very hard to get a overview of the code for me. No problem for someone coded and cared for it a long time, of course, but for someone you to it :(
Smurf