That was a sarcastic question because you just issued a query via
select() so the database cannot possibly close until the table
does. On 08/21/2018 05:42 PM, Israel Brewster
wrote:
As for "why wouldn't your database be open?", there could be any number of reasons. This is a SQLITE database we're talking about, so perhaps the user doesn't have read/write permission to the proper directory. Maybe the location is on some removable media that isn't mounted. Etc. If we were talking about a "real" database, the server could be down, or not accepting connections. Lots of possibilities, so it behoves me to check. This is a public app, so I can't assume *anything* about the environment. -- Roland Hughes, President Logikal Solutions (630) 205-1593 http://www.theminimumyouneedtoknow.com http://www.infiniteexposure.net http://www.johnsmith-book.com http://www.logikalblog.com http://www.interestingauthors.com/blog http://lesedi.us |
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest