Home » U++ Library support » U++ SQL » Fix to Sqlite3Session::Open
Fix to Sqlite3Session::Open [message #19915] |
Sun, 01 February 2009 19:18 |
Novo
Messages: 1371 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 310 times)
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Sun Nov 10 20:43:16 CET 2024
Total time taken to generate the page: 0.03982 seconds
|