mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 13:11:31 +00:00
Merge branch 'seeddms-4.3.x' into seeddms-5.0.x
This commit is contained in:
commit
4a590ef8e4
|
@ -91,6 +91,8 @@
|
||||||
- update last access time only once a minute
|
- update last access time only once a minute
|
||||||
- run action 'css' in view if it exists, move css code for timeline
|
- run action 'css' in view if it exists, move css code for timeline
|
||||||
- show role of users in user list and substitute user list
|
- show role of users in user list and substitute user list
|
||||||
|
- mysql sql_mode=only_full_group_by can be set without causing errors when
|
||||||
|
creating a temporary table
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
Changes in version 4.3.34
|
Changes in version 4.3.34
|
||||||
|
|
|
@ -358,16 +358,16 @@ class SeedDMS_Core_DatabaseAccess {
|
||||||
"SELECT `tblDocumentReviewLog`.`reviewID`, ".
|
"SELECT `tblDocumentReviewLog`.`reviewID`, ".
|
||||||
"MAX(`tblDocumentReviewLog`.`reviewLogID`) AS `maxLogID` ".
|
"MAX(`tblDocumentReviewLog`.`reviewLogID`) AS `maxLogID` ".
|
||||||
"FROM `tblDocumentReviewLog` ".
|
"FROM `tblDocumentReviewLog` ".
|
||||||
"GROUP BY `tblDocumentReviewLog`.`reviewID` ".
|
"GROUP BY `tblDocumentReviewLog`.`reviewID` "; //.
|
||||||
"ORDER BY `maxLogID`";
|
// "ORDER BY `maxLogID`";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$queryStr = "CREATE TEMPORARY TABLE IF NOT EXISTS `ttreviewid` (PRIMARY KEY (`reviewID`), INDEX (`maxLogID`)) ".
|
$queryStr = "CREATE TEMPORARY TABLE IF NOT EXISTS `ttreviewid` (PRIMARY KEY (`reviewID`), INDEX (`maxLogID`)) ".
|
||||||
"SELECT `tblDocumentReviewLog`.`reviewID`, ".
|
"SELECT `tblDocumentReviewLog`.`reviewID`, ".
|
||||||
"MAX(`tblDocumentReviewLog`.`reviewLogID`) AS `maxLogID` ".
|
"MAX(`tblDocumentReviewLog`.`reviewLogID`) AS `maxLogID` ".
|
||||||
"FROM `tblDocumentReviewLog` ".
|
"FROM `tblDocumentReviewLog` ".
|
||||||
"GROUP BY `tblDocumentReviewLog`.`reviewID` ".
|
"GROUP BY `tblDocumentReviewLog`.`reviewID` "; //.
|
||||||
"ORDER BY `maxLogID`";
|
// "ORDER BY `maxLogID`";
|
||||||
}
|
}
|
||||||
if (!$this->_ttreviewid) {
|
if (!$this->_ttreviewid) {
|
||||||
if (!$this->getResult($queryStr))
|
if (!$this->getResult($queryStr))
|
||||||
|
@ -391,16 +391,16 @@ class SeedDMS_Core_DatabaseAccess {
|
||||||
"SELECT `tblDocumentApproveLog`.`approveID`, ".
|
"SELECT `tblDocumentApproveLog`.`approveID`, ".
|
||||||
"MAX(`tblDocumentApproveLog`.`approveLogID`) AS `maxLogID` ".
|
"MAX(`tblDocumentApproveLog`.`approveLogID`) AS `maxLogID` ".
|
||||||
"FROM `tblDocumentApproveLog` ".
|
"FROM `tblDocumentApproveLog` ".
|
||||||
"GROUP BY `tblDocumentApproveLog`.`approveID` ".
|
"GROUP BY `tblDocumentApproveLog`.`approveID` "; //.
|
||||||
"ORDER BY `maxLogID`";
|
// "ORDER BY `maxLogID`";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$queryStr = "CREATE TEMPORARY TABLE IF NOT EXISTS `ttapproveid` (PRIMARY KEY (`approveID`), INDEX (`maxLogID`)) ".
|
$queryStr = "CREATE TEMPORARY TABLE IF NOT EXISTS `ttapproveid` (PRIMARY KEY (`approveID`), INDEX (`maxLogID`)) ".
|
||||||
"SELECT `tblDocumentApproveLog`.`approveID`, ".
|
"SELECT `tblDocumentApproveLog`.`approveID`, ".
|
||||||
"MAX(`tblDocumentApproveLog`.`approveLogID`) AS `maxLogID` ".
|
"MAX(`tblDocumentApproveLog`.`approveLogID`) AS `maxLogID` ".
|
||||||
"FROM `tblDocumentApproveLog` ".
|
"FROM `tblDocumentApproveLog` ".
|
||||||
"GROUP BY `tblDocumentApproveLog`.`approveID` ".
|
"GROUP BY `tblDocumentApproveLog`.`approveID` "; //.
|
||||||
"ORDER BY `maxLogID`";
|
// "ORDER BY `maxLogID`";
|
||||||
}
|
}
|
||||||
if (!$this->_ttapproveid) {
|
if (!$this->_ttapproveid) {
|
||||||
if (!$this->getResult($queryStr))
|
if (!$this->getResult($queryStr))
|
||||||
|
@ -424,16 +424,16 @@ class SeedDMS_Core_DatabaseAccess {
|
||||||
"SELECT `tblDocumentStatusLog`.`statusID` AS `statusID`, ".
|
"SELECT `tblDocumentStatusLog`.`statusID` AS `statusID`, ".
|
||||||
"MAX(`tblDocumentStatusLog`.`statusLogID`) AS `maxLogID` ".
|
"MAX(`tblDocumentStatusLog`.`statusLogID`) AS `maxLogID` ".
|
||||||
"FROM `tblDocumentStatusLog` ".
|
"FROM `tblDocumentStatusLog` ".
|
||||||
"GROUP BY `tblDocumentStatusLog`.`statusID` ".
|
"GROUP BY `tblDocumentStatusLog`.`statusID` "; //.
|
||||||
"ORDER BY `maxLogID`";
|
// "ORDER BY `maxLogID`";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$queryStr = "CREATE TEMPORARY TABLE IF NOT EXISTS `ttstatid` (PRIMARY KEY (`statusID`), INDEX (`maxLogID`)) ".
|
$queryStr = "CREATE TEMPORARY TABLE IF NOT EXISTS `ttstatid` (PRIMARY KEY (`statusID`), INDEX (`maxLogID`)) ".
|
||||||
"SELECT `tblDocumentStatusLog`.`statusID`, ".
|
"SELECT `tblDocumentStatusLog`.`statusID`, ".
|
||||||
"MAX(`tblDocumentStatusLog`.`statusLogID`) AS `maxLogID` ".
|
"MAX(`tblDocumentStatusLog`.`statusLogID`) AS `maxLogID` ".
|
||||||
"FROM `tblDocumentStatusLog` ".
|
"FROM `tblDocumentStatusLog` ".
|
||||||
"GROUP BY `tblDocumentStatusLog`.`statusID` ".
|
"GROUP BY `tblDocumentStatusLog`.`statusID` "; //.
|
||||||
"ORDER BY `maxLogID`";
|
// "ORDER BY `maxLogID`";
|
||||||
}
|
}
|
||||||
if (!$this->_ttstatid) {
|
if (!$this->_ttstatid) {
|
||||||
if (!$this->getResult($queryStr))
|
if (!$this->getResult($queryStr))
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
</stability>
|
</stability>
|
||||||
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||||
<notes>
|
<notes>
|
||||||
???
|
do not sort some temporary tables anymore, because it causes an error in mysql if sql_mode=only_full_group_by is set
|
||||||
</notes>
|
</notes>
|
||||||
<contents>
|
<contents>
|
||||||
<dir baseinstalldir="SeedDMS" name="/">
|
<dir baseinstalldir="SeedDMS" name="/">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user