Skip to contentSkip to conversation

sqlite3: Add support for column metadata API

GIT PULL In review Alex J Lennon 2 participants 5 messages Nov 6, 2013

lore
Share & tools
lore
#0 lore raw

The following changes since commit 9f7f7afaa47bc3a058234269bffa55e15558df16:

irda-utils: restart irda daemon correctly (2013-11-01 11:09:03 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib ajlennon/sqlite
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ajlennon/sqlite

Alex J Lennon (1):
sqlite3: Add support for column metadata API, bumped PR

 meta/recipes-support/sqlite/sqlite3_3080002.bb |    7 +++++++
 1 file changed, 7 insertions(+)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 sqlite3: Add support for column metadata API, bumped PR

---
 meta/recipes-support/sqlite/sqlite3_3080002.bb |    7 +++++++
 1 file changed, 7 insertions(+)
meta/recipes-support/sqlite/sqlite3_3080002.bb +7 -0
index 91dc6dd..e54f108 100644
@@ -2,9 +2,16 @@ require sqlite3.inc
 
 LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=65f0a57ca6928710b418c094b3570bb0"
 
+PR = "r1"
+
 SRC_URI = "http://www.sqlite.org/2013/sqlite-autoconf-${PV}.tar.gz"
 
 SRC_URI[md5sum] = "6d6cc639a4da04fbbdda7b1a1a01b386"
 SRC_URI[sha256sum] = "fca3a0a12f94dc92a6d9e700c3f6cab6cd4e79214bd7b6f13717a10f4bcfddb2"
 
 S = "${WORKDIR}/sqlite-autoconf-${PV}"
+
+# Provide column meta-data API
+BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
+TARGET_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
+
Signature · 1 line
1.7.9.5
#2 lore raw

Re: [PATCH 1/1] sqlite3: Add support for column metadata API, bumped PR

Quoted 1 line · Alex J Lennon

+PR = "r1"

No need to bump PR in oe-core, and please explain why enabling column metadata is good and what the tradeoffs are.

Ross

#3 lore raw

Re: [PATCH 1/1] sqlite3: Add support for column metadata API, bumped PR

Quoted 3 lines · Ross
Quoted 1 line · Alex J Lennon

+PR = "r1"

No need to bump PR in oe-core,

OK - this should be reverted/removed then?

Quoted 2 lines

and please explain why enabling column
metadata is good and what the tradeoffs are.

I found that Mono.Data.SQlite has a dependency on the column meta-data API, thus enabling this API enables use of Hibernate / Mono with SQLite and no doubt enables other ORMs / utility libraries.

ref: https://bugzilla.xamarin.com/show_bug.cgi?id=6333

The API is present in the used SQLite3 sqlite-autoconf-3080002 source-base. Thus we are enabling pre-existing SQLite support rather than introducing new code.

I am not aware of any issues that enabling this SQLite functionality introduces, other than a slightly increased library size of circa 1.5KB , i.e. coretexa9_vfp_neon i.MX6

- with column meta-data API 610360 libsqlite3.so.0.8.6
- without column meta-data API 608880 libsqlite3.so.0.8.6

BR, Alex

Quoted 3 lines

Ross

Signature · 10 lines
Dynamic Devices Ltd <http://www.dynamicdevices.co.uk/>

Alex J Lennon / Director
1 Queensway, Liverpool L22 4RA

mobile: +44 (0)7956 668178

Linkedin <http://www.linkedin.com/in/alexjlennon> Skype <skype:alexjlennon?add>

This e-mail message may contain confidential or legally privileged information and is intended only for the use of the intended recipient(s). Any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is prohibited. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, or contain viruses. Anyone who communicates with us by e-mail is deemed to have accepted these risks. Company Name is not responsible for errors or omissions in this message and denies any responsibility for any damage arising from the use of e-mail. Any opinion and other statement contained in this message and any attachment are solely those of the author and do not necessarily represent those of the company.
#4 lore raw

Re: [PATCH 1/1] sqlite3: Add support for column metadata API, bumped PR

Quoted 4 lines · Alex J Lennon

No need to bump PR in oe-core,

OK - this should be reverted/removed then?

Remove it from your changes.

and please explain why enabling column

Quoted 13 lines

metadata is good and what the tradeoffs are.

I found that Mono.Data.SQlite has a dependency on the column meta-data API, thus enabling this API enables use of Hibernate / Mono with SQLite and no doubt enables other ORMs / utility libraries.

ref: https://bugzilla.xamarin.com/show_bug.cgi?id=6333

The API is present in the used SQLite3 sqlite-autoconf-3080002 source-base. Thus we are enabling pre-existing SQLite support rather than introducing new code.

Quoted 6 lines

I am not aware of any issues that enabling this SQLite functionality introduces, other than a slightly increased library size of circa 1.5KB , i.e. coretexa9_vfp_neon i.MX6

- with column meta-data API 610360 libsqlite3.so.0.8.6
- without column meta-data API 608880 libsqlite3.so.0.8.6

That's a pretty negligible impact, thanks for the background.

Ross