Maybe you would like to exchange experiences with Prakash Premkumar <prakash.prax at gmail.com> about hacking SQLite internals.
-----Urspr?ngliche Nachricht----- 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 certain operations of SQLite internally, so i created mem object. On Wed, Feb 25, 2015 at 12:36 PM, Hick Gunter <hick at scigames.at> wrote: > The mem object is internal to sqlite, it is not intended to be > created/changed by user code. > > What are you trying to do that makes you 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 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, it worked well but some times it shows realloc() error. > I also found a function sqlite3VdbeMemSetStr() which will > copy the string value into new mem but even it fails sometimes. > So what is the correct way of creating a mem object and > copying a string to its member so that SQLite will work fruitfully.Anyone > know??? > _______________________________________________ > sqlite-users mailing list > sqlite-users at mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users > > > ___________________________________________ > Gunter Hick > Software Engineer > Scientific Games International GmbH > FN 157284 a, HG Wien > Klitschgasse 2-4, A-1130 Vienna, Austria > Tel: +43 1 80100 0 > E-Mail: hick at scigames.at > > This communication (including any attachments) is intended for the use > of the intended recipient(s) only and may contain information that is > confidential, privileged or legally protected. Any unauthorized use or > dissemination of this communication is strictly prohibited. If you > have received this communication in error, please immediately notify > the sender by return e-mail message and delete all copies of the > original communication. Thank you for your cooperation. > > > _______________________________________________ > sqlite-users mailing list > sqlite-users at mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list sqlite-users at mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users ___________________________________________ Gunter Hick Software Engineer Scientific Games International GmbH FN 157284 a, HG Wien Klitschgasse 2-4, A-1130 Vienna, Austria Tel: +43 1 80100 0 E-Mail: hick at scigames.at This communication (including any attachments) is intended for the use of the intended recipient(s) only and may contain information that is confidential, privileged or legally protected. Any unauthorized use or dissemination of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender by return e-mail message and delete all copies of the original communication. Thank you for your cooperation.