All of lore.kernel.org
 help / color / mirror / Atom feed
* [PULL] [PATCH 0/1] sqlite3: Add support for column metadata API
@ 2013-11-06 15:32 Alex J Lennon
  2013-11-06 15:32 ` [PATCH 1/1] sqlite3: Add support for column metadata API, bumped PR Alex J Lennon
  0 siblings, 1 reply; 5+ messages in thread
From: Alex J Lennon @ 2013-11-06 15:32 UTC (permalink / raw)
  To: poky

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(+)

-- 
1.7.9.5



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/1] sqlite3: Add support for column metadata API, bumped PR
  2013-11-06 15:32 [PULL] [PATCH 0/1] sqlite3: Add support for column metadata API Alex J Lennon
@ 2013-11-06 15:32 ` Alex J Lennon
  2013-11-06 15:46   ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Alex J Lennon @ 2013-11-06 15:32 UTC (permalink / raw)
  To: poky

Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
---
 meta/recipes-support/sqlite/sqlite3_3080002.bb |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta/recipes-support/sqlite/sqlite3_3080002.bb b/meta/recipes-support/sqlite/sqlite3_3080002.bb
index 91dc6dd..e54f108 100644
--- a/meta/recipes-support/sqlite/sqlite3_3080002.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3080002.bb
@@ -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"
+
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] sqlite3: Add support for column metadata API, bumped PR
  2013-11-06 15:32 ` [PATCH 1/1] sqlite3: Add support for column metadata API, bumped PR Alex J Lennon
@ 2013-11-06 15:46   ` Burton, Ross
  2013-11-06 16:57     ` Alex J Lennon
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2013-11-06 15:46 UTC (permalink / raw)
  To: Alex J Lennon; +Cc: Poky Project

On 6 November 2013 15:32, Alex J Lennon <ajlennon@dynamicdevices.co.uk> wrote:
> +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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] sqlite3: Add support for column metadata API, bumped PR
  2013-11-06 15:46   ` Burton, Ross
@ 2013-11-06 16:57     ` Alex J Lennon
  2013-11-06 17:00       ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Alex J Lennon @ 2013-11-06 16:57 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Poky Project

[-- Attachment #1: Type: text/plain, Size: 2145 bytes --]


On 06/11/2013 15:46, Burton, Ross wrote:
> On 6 November 2013 15:32, Alex J Lennon <ajlennon@dynamicdevices.co.uk> wrote:
>> +PR = "r1"
> No need to bump PR in oe-core,

OK - this should be reverted/removed then?

> 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

> Ross
>
>

-- 

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.


[-- Attachment #2.1: Type: text/html, Size: 5043 bytes --]

[-- Attachment #2.2: ddlogo-4.png --]
[-- Type: image/png, Size: 3997 bytes --]

[-- Attachment #2.3: linkedin.png --]
[-- Type: image/png, Size: 631 bytes --]

[-- Attachment #2.4: skype.png --]
[-- Type: image/png, Size: 800 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] sqlite3: Add support for column metadata API, bumped PR
  2013-11-06 16:57     ` Alex J Lennon
@ 2013-11-06 17:00       ` Burton, Ross
  0 siblings, 0 replies; 5+ messages in thread
From: Burton, Ross @ 2013-11-06 17:00 UTC (permalink / raw)
  To: Alex J Lennon; +Cc: Poky Project

[-- Attachment #1: Type: text/plain, Size: 1124 bytes --]

On 6 November 2013 16:57, Alex J Lennon <ajlennon@dynamicdevices.co.uk>wrote:

> 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
> 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


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

Ross

[-- Attachment #2: Type: text/html, Size: 1974 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-06 17:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-06 15:32 [PULL] [PATCH 0/1] sqlite3: Add support for column metadata API Alex J Lennon
2013-11-06 15:32 ` [PATCH 1/1] sqlite3: Add support for column metadata API, bumped PR Alex J Lennon
2013-11-06 15:46   ` Burton, Ross
2013-11-06 16:57     ` Alex J Lennon
2013-11-06 17:00       ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.