[sqlite] Regarding creating a mem object and copying contents to it in SQLite

2015-02-25 Thread Sairam Gaddam
chricht- > Von: Sairam Gaddam [mailto:gaddamsairam at gmail.com] > Gesendet: Mittwoch, 25. Februar 2015 08:23 > An: General Discussion of SQLite Database > Betreff: Re: [sqlite] Regarding creating a mem object and copying contents > to it in SQLite > > I am trying to optimize

[sqlite] Regarding creating a mem object and copying contents to it in SQLite

2015-02-25 Thread Sairam Gaddam
ou think you need to manipulate > internal structures? > > -Urspr?ngliche Nachricht- > Von: Sairam Gaddam [mailto:gaddamsairam at gmail.com] > Gesendet: Mittwoch, 25. Februar 2015 07:41 > An: sqlite-users at sqlite.org > Betreff: [sqlite] Regarding creating

[sqlite] Regarding creating a mem object and copying contents to it in SQLite

2015-02-25 Thread Sairam Gaddam
hello, I created a mem object in SQLite and copied a string value to its member and i initialized some other members to default values manually, it worked well but some times it shows realloc() error. I also found a function sqlite3VdbeMemSetStr() which will copy the string value

[sqlite] Regarding creating a mem object and copying contents to it in SQLite

2015-02-25 Thread Simon Slavin
On 25 Feb 2015, at 10:21am, Sairam Gaddam wrote: > Yaa we work together and we need some assistance regarding that. See our responses to Prakash Premkumar. The things he thought he could optimize turned out to be unhelpful. You will find that just using normal SQLite calls you get

[sqlite] Regarding creating a mem object and copying contents to it in SQLite

2015-02-25 Thread Hick Gunter
] Regarding creating a mem object and copying contents to it in SQLite I am trying to optimize certain operations of SQLite internally, so i created mem object. On Wed, Feb 25, 2015 at 12:36 PM, Hick Gunter wrote: > The mem object is internal to sqlite, it is not intended to be > created/c

[sqlite] Regarding creating a mem object and copying contents to it in SQLite

2015-02-25 Thread Hick Gunter
. Februar 2015 07:41 An: sqlite-users at sqlite.org Betreff: [sqlite] Regarding creating a mem object and copying contents to it in SQLite hello, I created a mem object in SQLite and copied a string value to its member and i initialized some other members to default values manually