2023-06-09 Fred Gleason <fredg@paravelsystems.com>

* Removed the '#define RD_DEFAULT_MAX_POST_LENGTH' statement from
	'lib/rd.h'.
	* Added a '#define RD_MAX_POST_LENGTH' statement in 'lib/rd.h'.
	* Removed the 'RDSystem::maxPostLength()' and
	'RDSystem::setMaxPostLength()' methods.
	* Removed the 'Maximum Remote Post Length' control from the
	'System-Wide Settings' dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2023-06-09 11:31:02 -04:00
parent 717ec9cc17
commit 4e88ca5f0c
11 changed files with 25 additions and 74 deletions

View File

@@ -1524,8 +1524,7 @@ bool MainObject::CreateNewDb(QString *err_msg) const
RD_DEFAULT_SAMPLE_RATE)+
"`DUP_CART_TITLES` enum('N','Y') not null default 'Y',"+
"`FIX_DUP_CART_TITLES` enum('N','Y') not null default 'Y',"+
QString::asprintf("`MAX_POST_LENGTH` int unsigned default %u,",
RD_DEFAULT_MAX_POST_LENGTH)+
"`MAX_POST_LENGTH` int unsigned default 10000000,"+
"`ISCI_XREFERENCE_PATH` char(255),"+
"`TEMP_CART_GROUP` char(10),"+
"`SHOW_USER_LIST` enum('N','Y') not null default 'Y',"+