Error when upgrading to today's CVS

Error when upgrading to today's CVS

by John Papaioannou -
Number of replies: 3
I got some errors when upgrading to today's CVS version. Those had to do with the creation of 4 new tables.

Specifically, the primary key field was specified BOTH inline (id int(10) not null auto_increment primary_key or something like that) AND standalone (id, field1, field2, ... , primary key(id)).

This caused MySQL to complain and NOT create the tables.

Can someone take a look at this? I 'd do it myself but I 'm running out of time right now...

Jon
Average of ratings: -
In reply to John Papaioannou

Re: Error when upgrading to today's CVS

by Mark Nielsen -
Sorry, this is my fault.

I'll make another post when the problem is fixed.

~Mark
In reply to John Papaioannou

Re: Error when upgrading to today's CVS

by Mark Nielsen -
Ok, the problem was in mysql.php in /mod/lesson/db.  I fixed the problem and everything should work properly.  You might have to run the mysql manually for those tables if the lesson mod version got updated in the db.  If you need more help, just ask  smile

Sorry about the mistake,
~Mark
In reply to Mark Nielsen

Re: Error when upgrading to today's CVS

by John Papaioannou -

I did create them manually, no problem Mark. Just wanted to make sure the less tech-savvy don't get stuck.

Jon