Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

DbSimple2:

 - fixed GET_TOTAL bug in PostgreSQL driver

git-svn-id: svn://dklab.ru/lib/DbSimple/trunk@167 78bb956b-1e24-0410-b8d0-c528fdc9eae3
  • Loading branch information...
commit 092b09389cdde972d427a3525b0c3df975544941 1 parent d52a026
tit authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/DbSimple/Postgresql.php
View
2  lib/DbSimple/Postgresql.php
@@ -134,7 +134,7 @@ function _performTransformQuery(&$queryMain, $how)
(.*?) #2
(\s+ FROM \s+ .*?) #3
((?:\s+ ORDER \s+ BY \s+ .*?)?) #4
- ((?:\s+ LIMIT \s+ \S+ \s* (?:, OFFSET \s* \S+ \s*)? )?) #5
+ ((?:\s+ LIMIT \s+ \S+ \s* (?: OFFSET \s* \S+ \s*)? )?) #5
$/six';
$m = null;
if (preg_match($re, $queryMain[0], $m)) {
Please sign in to comment.
Something went wrong with that request. Please try again.