Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » Fix to Sqlite3Session::Open
Fix to Sqlite3Session::Open [message #19915] Sun, 01 February 2009 19:18 Go to previous message
Novo is currently offline  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
 
Read Message
Read Message
Read Message
Previous Topic: Conditional jump or move depends on uninitialised value(s)
Next Topic: few questions from a newbie
Goto Forum:
  


Current Time: Tue May 14 20:02:26 CEST 2024

Total time taken to generate the page: 0.01686 seconds