Home » U++ Library support » U++ SQL » Fix to Sqlite3Session::Open
Fix to Sqlite3Session::Open [message #19915] |
Sun, 01 February 2009 19:18  |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
Explanation.
sqlite3_open initializes database argument even if it cannot open database. So, it is incorrect to use NULL == db to check whether database was opened or not.
-
Attachment: sqlite3.diff
(Size: 1.27KB, Downloaded 334 times)
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Wed Jun 25 21:14:19 CEST 2025
Total time taken to generate the page: 0.04027 seconds
|