2021-04-19 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression that threw a SQL error when opening the
	'Edit Group' dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-04-19 10:07:28 -04:00
parent 6264ec3235
commit 0f4891d4e4
2 changed files with 4 additions and 1 deletions

View File

@ -21461,3 +21461,6 @@
* Escaped all SQL identifiers in 'rdadmin/'.
* Replaced " with ' delimiters in all SQL literal strings in
'rdadmin/'.
2021-04-19 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression that threw a SQL error when opening the
'Edit Group' dialog in rdadmin(1).

View File

@ -47,7 +47,7 @@ RDGroup::RDGroup(QString name,bool create)
//
// Normalize case
//
sql=QString("select `NAME` from `GROUPS`` where ")+
sql=QString("select `NAME` from `GROUPS` where ")+
"`NAME`='"+RDEscapeString(name)+"'";
q=new RDSqlQuery(sql);
if(q->first()) {