Prevent database memory cosumption by prepared statements caches (#768)

This commit is contained in:
Ruslan Talpa
2016-12-09 09:46:28 -08:00
committed by Joe Nelson
parent 0d85152e42
commit 15c95399f8
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ encodeUniformObjs =
createReadStatement :: SqlQuery -> SqlQuery -> Bool -> Bool -> Bool ->
H.Query () ResultsWithCount
createReadStatement selectQuery countQuery isSingle countTotal asCsv =
unicodeStatement sql HE.unit decodeStandard True
unicodeStatement sql HE.unit decodeStandard False
where
sql = [qc|
WITH {sourceCTEName} AS ({selectQuery}) SELECT {cols}