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

* Fixed a regression in rddbmgr(8) in '--check' mode that caused
	alteration of a table's engine type to fail.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-09-11 13:11:10 -04:00
parent a559ec2bc0
commit 7220567b83
2 changed files with 7 additions and 1 deletions

View File

@ -22401,3 +22401,6 @@
* Fixed a bug in rddbmgr(8) that generated a SQL error when checking
for orphaned scheduler code rules when no Clocks existed in the
database.
2021-09-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rddbmgr(8) in '--check' mode that caused
alteration of a table's engine type to fail.

View File

@ -175,7 +175,10 @@ void MainObject::CheckTableAttributes()
fflush(NULL);
if(UserResponse()) {
sql=QString("alter table `")+q->value(0).toString()+"` "+
"`ENGINE`="+db_mysql_engine;
"ENGINE="+db_mysql_engine;
printf("*****************\n");
printf("SQL: %s\n",sql.toUtf8().constData());
printf("*****************\n");
RDSqlQuery::apply(sql);
}
}