#1 2017-03-03 03:40:39

mingda
Member
Registered: 2013-01-04
Posts: 121

MAX_SQLFIELDS default value

Can change MAX_SQLFIELDS default value to 128, current 64 everytime after update i need change, thanks!



Also current 3449 builder testSQL3 after run, when close has memory leak report:

Unexpected Memory Leak
---------------------------
An unexpected memory leak has occurred. The unexpected small block leaks are:

85 - 92 bytes: TSynThreadPoolSubThread x 32

thanks!

Offline

#2 2017-03-03 08:21:24

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: MAX_SQLFIELDS default value

Memory leak fixed by https://synopse.info/fossil/info/ebc98ba04f

I don't want to change the default MAX_SQLFIELDS value, since 64 is a pretty convenient size for most use cases.
I've added conditionals to customize MAX_SQLFIELDS value, at compilation time.
As new MAX_SQLFIELDS_128, MAX_SQLFIELDS_192 or MAX_SQLFIELDS_256 conditionals to change MAX_SQLFIELDS constant when default 64 is not enough.
See https://synopse.info/fossil/info/427e2ed4ea

Offline

#3 2017-03-03 08:29:12

mingda
Member
Registered: 2013-01-04
Posts: 121

Re: MAX_SQLFIELDS default value

this is perfect, thank you very much!

Offline

Board footer

Powered by FluxBB