U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ SQL » Sqlite schema fixes
Sqlite schema fixes [message #29139] Thu, 07 October 2010 10:00 Go to previous message
zsolt is currently offline  zsolt
Messages: 702
Registered: December 2005
Location: Budapest, Hungary
Contributor
UNIQUE_LIST has a typo and INDEX_LIST is missing (plugin/sqlite3/Sqlite3Schema.h)

#define UNIQUE_LIST(u, l)          ATTRIBUTE("create unique index UQ_@t$" #u " on @t  "\
                                             "(" l ");",\
                                             "drop index UQ_@t$" #u ";")
#define INDEX_LIST(u, l)           ATTRIBUTE("create index IDXL_@t$" #u " on @t  "\
                                             "(" l ");",\
                                             "drop index IDXL_@t$" #u ";")


and a lot of #undefs are missing.
 
Read Message
Read Message
Previous Topic: Question about SQL....
Next Topic: [SQLITE] Enable FTS in compiler options by default
Goto Forum:
  


Current Time: Sun May 24 17:13:50 GMT+2 2026

Total time taken to generate the page: 0.00444 seconds