Home » U++ Library support » U++ SQL » Fix to Sqlite3Session::Open
Fix to Sqlite3Session::Open [message #19915] |
Sun, 01 February 2009 19:18 |
Novo
Messages: 1358 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 288 times)
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Tue May 14 20:02:26 CEST 2024
Total time taken to generate the page: 0.01686 seconds
|