|
PowerBASIC Forums
![]() Programming
![]() SQLite framework (Page 2)
|
This topic is 2 pages long: 1 2 |
next newest topic | next oldest topic |
| Author | Topic: SQLite framework |
|
Stan Durham Member |
Terence, It doesn’t appear that the memory is being freed. Bail: if you quote this out, run the query over and over on a large table, the memory use keeps going up ------------------ IP: Logged |
|
Terence McDonnell Member |
quote: Hey Stan; I'll try to take a look at this next weekend. My week is shot already fixing problems that are look forward to troubleshooting one that can run on a floppy... seeya - Terence. ------------------ IP: Logged |
|
james klutho Member |
Does lpTable need to be passed byval in the sqlite_free_table call? ------------------ IP: Logged |
|
Stan Durham Member |
didn't make a difference ------------------ IP: Logged |
|
james klutho Member |
Shucks. The sqlite_get_table function had the lpTable parameter dereferenced 3 times and the sqlite_free_table had it dereferenced only two times. Hope the problem can be found because I would like to start playing around with the include a little more and maybe use it for something productive. ------------------ IP: Logged |
|
Stan Durham Member |
I found out what was wrong with the code. There was a problem behind my monitor. There is nothing wrong with lpTable. ------------------ IP: Logged |
|
Terence McDonnell Member |
quote: Hey Stan; Glad you seem to have gotten this resolved; when you say you Also - in your experience, have you been able to get the "callback" Thanks! - Terence. ------------------ IP: Logged |
|
Stan Durham Member |
Terence, Thanks for your code. There’s nothing wrong it. There was something wrong with my test program. The beauty of your code is, the table gets released. I’m afraid to invest the time to try and get the callback working, and then run into table locking problems. I might give it a go later on. ------------------ IP: Logged |
This topic is 2 pages long: 1 2 All times are EasternTime (US) | next newest topic | next oldest topic |
![]() |
|
Copyright © 1999-2005 PowerBASIC, Inc. All Rights Reserved.