2016-08-01 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in 'rdadmin/createdb.cpp' that caused the
	'SERVICE_CLOCKS' table to fail to be created when generating
	a new database.
This commit is contained in:
Fred Gleason 2016-08-01 10:41:12 -04:00
parent 8f4f69009b
commit a6066fe39a
2 changed files with 7 additions and 0 deletions

View File

@ -15435,3 +15435,7 @@
2016-07-29 Fred Gleason <fredg@paravelsystems.com>
* Updated 'NEWS'.
* Incremented the package version to 2.15.0.
2016-08-01 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdadmin/createdb.cpp' that caused the
'SERVICE_CLOCKS' table to fail to be created when generating
a new database.

View File

@ -2412,6 +2412,9 @@ bool CreateDb(QString name,QString pwd)
"CLOCK_NAME char(64) default null,"+
"index SERVICE_NAME_IDX(SERVICE_NAME,HOUR),"+
"index CLOCK_NAME_IDX(CLOCK_NAME))";
if(!RunQuery(sql)) {
return false;
}
return true;
}