2016-09-11 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in 'rdadmin/createdb.cpp' that caused obsolete fields
	in the 'SERVICES' table to be included when creating a new database.
This commit is contained in:
Fred Gleason 2016-09-12 11:13:14 -04:00
parent 4e602875a5
commit dff01de517
2 changed files with 5 additions and 6 deletions

View File

@ -15472,3 +15472,6 @@
in 'docs/scheduler_formats.ods'.
* Added examples for adding inline traffic breaks and voice track
markers to the sample files in 'docs/examples/'.
2016-09-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdadmin/createdb.cpp' that caused obsolete fields
in the 'SERVICES' table to be included when creating a new database.

View File

@ -930,16 +930,12 @@ bool CreateDb(QString name,QString pwd)
MUS_EVENT_ID_OFFSET int,\
MUS_EVENT_ID_LENGTH int,\
MUS_ANNC_TYPE_OFFSET int,\
MUS_ANNC_TYPE_LENGTH int, ");
for(int i=0;i<167;i++) {
sql+=QString().sprintf("CLOCK%d char(64),",i);
}
sql+=QString("CLOCK167 char(64))");
MUS_ANNC_TYPE_LENGTH int)");
if(!RunQuery(sql)) {
return false;
}
//
// Create GROUPS table
//