Bug 6333 - MacOS: SQLite that ships doesn't have SQLITE_ENABLE_COLUMN_METADATA set
Summary: MacOS: SQLite that ships doesn't have SQLITE_ENABLE_COLUMN_METADATA set
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Data (show other bugs)
Version: unspecified
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: Untriaged
Assignee: Duncan Mak
URL:
Depends on:
Blocks:
 
Reported: 2012-07-31 00:10 UTC by Brett Michael
Modified: 2013-01-16 09:27 UTC (History)
3 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Brett Michael 2012-07-31 00:10:49 UTC
Hibernate and Mono.Data.Sqlite both need to use the SQLite metadata functions.
However, the version of sqlite shipped with mono doesn't have this enabled.

This means that any application using Mono.Data.Sqlite (which is also shipped with Mono) needs to compile their own version of sqlite.

Can we have this enabled in SQLITE by default?
Comment 1 Zoltan Varga 2012-08-09 00:02:44 UTC
-> class libs.
Comment 2 Miguel de Icaza [MSFT] 2012-08-15 16:32:47 UTC
The problem is MacOS SQLite, we do not ship Sqlite ourselves
Comment 3 Miguel de Icaza [MSFT] 2012-08-17 14:01:02 UTC
Actually, we do ship it.

We are looking at upgrading it.
Comment 4 Brett Michael 2013-01-16 07:19:16 UTC
Any update on this? I'm having to look for alternatives that are pure C# and none of them are that compelling. Hopefully updating the build script to compile SQLite with the SQLITE_ENABLE_COLUMN_METADATA option would be straight forward, and it would make a huge difference to how applications need to be packaged.

I'm happy to have a look at providing a patch myself if someone can point me to where sqlite is compiled/packaged from in the mono source - a quick search didn't yield much, but I'm completely unfamiliar with the source tree.
Comment 5 Miguel de Icaza [MSFT] 2013-01-16 09:27:01 UTC
Look at bockbuild module in github.com/mono

Note You need to log in before you can comment on or make changes to this bug.