summaryrefslogtreecommitdiff
path: root/perf
diff options
context:
space:
mode:
authorpeterdd <ddpm@liscovius.de>2021-08-23 09:08:14 +0200
committerGitHub <noreply@github.com>2021-08-23 09:08:14 +0200
commita0bd81882d65eb9ccd40dcbe53b63a6e0bf15b96 (patch)
tree44e513cc2c3aa754fdeada2b49f11acc4df14a71 /perf
parent00b770b18d74339ec1de0dfa280e99e9c3324642 (diff)
downloadadodb-a0bd81882d65eb9ccd40dcbe53b63a6e0bf15b96.tar.gz
adodb-a0bd81882d65eb9ccd40dcbe53b63a6e0bf15b96.tar.bz2
adodb-a0bd81882d65eb9ccd40dcbe53b63a6e0bf15b96.zip
perf: fix invalid SQL (repeated distict keyword) (#753)
Diffstat (limited to 'perf')
-rw-r--r--perf/perf-postgres.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/perf/perf-postgres.inc.php b/perf/perf-postgres.inc.php
index 315c17f5..5ca19449 100644
--- a/perf/perf-postgres.inc.php
+++ b/perf/perf-postgres.inc.php
@@ -131,7 +131,7 @@ class perf_postgres extends adodb_perf{
if ($partial) {
$sqlq = $this->conn->qstr($sql.'%');
- $arr = $this->conn->GetArray("select distinct distinct sql1 from adodb_logsql where sql1 like $sqlq");
+ $arr = $this->conn->getArray("select distinct sql1 from adodb_logsql where sql1 like $sqlq");
if ($arr) {
foreach($arr as $row) {
$sql = reset($row);