Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Select Grid Row BY ID
Re: Select Grid Row BY ID [message #56298 is a reply to message #48075] |
Thu, 18 February 2021 14:45 |
JeyCi
Messages: 50 Registered: July 2020
|
Member |
|
|
germax wrote on Sun, 14 May 2017 19:48 Again, thank you,
NOW..
since I just tested your alterations while typing,
I'm still getting memory leaks like crazy *shrugs*
I compiled in MinGW (32bit on the single core and 64bit on the 16core)
You MSVC'd maybe?
I tested in MINGW v9.3 for the interest - no leaks & works OK... just one raw I wouldn't recommend to use in thread without synchronization
outab.cont.GetRow(i).Bg(Yellow());
any synchronization should be done either, I think, - as below same stuff in the code was used in PostCallback... but in for-loop it sometimes behaves strange in your code -- I really don't think this 'yellow' is needed here - therefore am not finding the reason... just getting it away...
I see the date of your post but was testing for the interest - & see no problems with Sqlite3 behavior in thread (in the attached example: #define ME_SINGLE) - therefore am not agree with:
germax wrote on Sun, 14 May 2017 19:48 code not working properly on my machine is that sql conenctions are not exactly thread safe... it's always the SQL causing troubles.
- not certainly
p.s.
though concerning input of huger amount than I tested - I can suppose some time is needed for sqlite3 to commit each transaction & if you will commit all transactions at once no lag will be between code's work & db's locked state sometimes while fixing each change to db separately... but it is old well-known feature of sqlite3 db
Best regards.
[Updated on: Thu, 18 February 2021 17:51] Report message to a moderator
|
|
|
|
|
Select Grid Row BY ID
By: germax on Fri, 05 May 2017 19:32
|
|
|
Re: Select Grid Row BY ID
By: deep on Mon, 08 May 2017 15:07
|
|
|
Re: Select Grid Row BY ID
|
|
|
Re: Select Grid Row BY ID
By: germax on Wed, 10 May 2017 12:33
|
|
|
Re: Select Grid Row BY ID
|
|
|
Re: Select Grid Row BY ID
By: germax on Thu, 11 May 2017 03:33
|
|
|
Re: Select Grid Row BY ID
|
|
|
Re: Select Grid Row BY ID
By: germax on Thu, 11 May 2017 20:17
|
|
|
Re: Select Grid Row BY ID
|
|
|
Re: Select Grid Row BY ID
By: germax on Fri, 12 May 2017 02:20
|
|
|
Re: Select Grid Row BY ID
|
|
|
Re: Select Grid Row BY ID
By: germax on Sat, 13 May 2017 19:13
|
|
|
Re: Select Grid Row BY ID
|
|
|
Re: Select Grid Row BY ID
By: germax on Sun, 14 May 2017 19:48
|
|
|
Re: Select Grid Row BY ID
By: JeyCi on Thu, 18 February 2021 14:45
|
|
|
Re: Select Grid Row BY ID
By: JeyCi on Fri, 19 February 2021 07:31
|
|
|
Re: Select Grid Row BY ID
By: deep on Mon, 15 May 2017 07:44
|
|
|
Re: Select Grid Row BY ID
By: germax on Mon, 15 May 2017 14:22
|
Goto Forum:
Current Time: Mon Apr 29 03:29:20 CEST 2024
Total time taken to generate the page: 0.03488 seconds
|