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

@@ -17040,3 +17040,6 @@
reversion to an implied schema. reversion to an implied schema.
2018-06-08 Fred Gleason <fredg@paravelsystems.com> 2018-06-08 Fred Gleason <fredg@paravelsystems.com>
* Fixed typos in the rddbmgr(8) man page. * Fixed typos in the rddbmgr(8) man page.
2018-06-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbmgr(8) that broke --modify when using an
implied schema.

View File

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