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 » Updated Sqlite3 plugin
Updated Sqlite3 plugin [message #4140] Tue, 25 July 2006 10:07 Go to previous message
aroman is currently offline  aroman
Messages: 18
Registered: November 2005
Promising Member

    EDIT: PLEASE NOTE THAT DATABASES CREATED WITH THIS VERSION ARE NOT COMPATIBLE WITH THE PREVIOUS VERSION!! See the sqlite homepage for details.


Sorry for the delayed response. Here is the code necessary to update the sqlite3 plugin to the newest version:

  1. Download the newest version, 3.3.6, from the sqlite homepage. In particular, you want the fully preprocessed source code: http://www.sqlite.org/sqlite-source-3_3_6.zip
  2. Delete all files in
    uppsrc/plugin/sqlite3/lib/*
    Then unzip the new source files into that directory.
  3. Apply the following patch to
    uppsrc/plugin/sqlite3/sqlite3.upp
    Patch:
    Index: C:/Research/upp/uppsrc/plugin/sqlite3/sqlite3.upp
    ===================================================================
    --- C:/Research/upp/uppsrc/plugin/sqlite3/sqlite3.upp	(revision 29)
    +++ C:/Research/upp/uppsrc/plugin/sqlite3/sqlite3.upp	(working copy)
    @@ -30,12 +30,12 @@
     	lib/main.c,
     	lib/opcodes.c,
     	lib/opcodes.h,
    +	lib/os.c,
     	lib/os.h,
     	lib/os_common.h,
    +	lib/os_os2.c,
     	lib/os_unix.c,
    -	lib/os_unix.h,
     	lib/os_win.c,
    -	lib/os_win.h,
     	lib/pager.c,
     	lib/pager.h,
     	lib/parse.c,
    
    That is, add os.c and os_os2.c, remove os_unix.h and os_win.h.


It should compile without errors.

- Augusto

[Updated on: Tue, 25 July 2006 10:31]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: sqlite3 plugin documentation
Next Topic: Sqlite3 int64 / wstring support patch
Goto Forum:
  


Current Time: Tue May 14 18:58:40 CEST 2024

Total time taken to generate the page: 0.01965 seconds