[otrs-cvs] otrs/Kernel/System DB.pm,1.150,1.151
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/Kernel/System
In directory lancelot:/tmp/cvs-serv9680/Kernel/System
Modified Files:
DB.pm
Log Message:
Reverted last change for oracle rownum, because of failing unit tests.
Author: des
Index: DB.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/DB.pm,v
retrieving revision 1.150
retrieving revision 1.151
diff -2 -u -d -r1.150 -r1.151
--- DB.pm 4 Dec 2012 13:15:43 -0000 1.150
+++ DB.pm 5 Dec 2012 11:04:16 -0000 1.151
@@ -560,6 +560,6 @@
$SQL .= " LIMIT $Limit";
}
- elsif ( $Self->{Backend}->{'DB::Limit'} eq 'rownum' ) {
- $SQL = 'SELECT * FROM (' . $SQL . ') WHERE ROWNUM <= ' . $Limit;
+ elsif ( $Self->{Backend}->{'DB::Limit'} eq 'fetch' ) {
+ $SQL .= " fetch $Limit first row";
}
else {
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log