2018-06-11 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rddbmgr(8) that broke --modify when using an
	implied schema.
This commit is contained in:
Fred Gleason
2018-06-11 16:03:02 +00:00
parent bcf29e8de3
commit 173289d0f6
2 changed files with 4 additions and 1 deletions

View File

@@ -317,11 +317,11 @@ MainObject::MainObject(QObject *parent)
}
else {
if(set_version.isEmpty()) {
set_schema=RD_VERSION_DATABASE;
if(set_schema<schema) {
fprintf(stderr,"rddbmgr: reversion implied, you must explicitly specify the target schema\n");
exit(1);
}
set_schema=RD_VERSION_DATABASE;
}
else {
if((set_schema=GetVersionSchema(set_version))==0) {