[sqlite] INSERT performance drops down as DB grows.

2010-03-09 Thread Kiril
something wrong? Thanks in advance, Kiril. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] reading BLOB - Segmentation fault

2006-08-02 Thread Kiril Dzolev
Yes it is working. On 02/08/06, Martin Jenkins <[EMAIL PROTECTED]> wrote: Ignore that, I wasn't thinking C++ :( Does the CppSQLite demo work on your machine? Martin > Kiril Dzolev wrote: > > You're calling blobGet(), but blobGet is an unitialised variable of

Re: [sqlite] reading BLOB - Segmentation fault

2006-08-02 Thread Kiril Dzolev
Yes you are absolutly right in both cases. This is off topic and the problem is only in passing the lengthBLOB Thanks for the help. Kiril This is completely off topic, it is a simple programming error, I am sure. Your lengthBLOB outside of the function is fishy, you didn't show even ho

Re: [sqlite] reading BLOB - Segmentation fault

2006-08-02 Thread Kiril Dzolev
Are you using pBufferOut later in main()? I think you can't pass a pointer to a member object because that object is invalid outside your function, unless ofcourse if the object isn't responsible for cleanup. Merijn Yes I am using pBufferOut and lengthBLOB later

Re: [sqlite] reading BLOB - Segmentation fault

2006-08-02 Thread Kiril Dzolev
There is no warning. But as I can see the problem is here If erase this line lengthBLOB=blobGet.getBinaryLength(); end just print it like cout<<"Retrieved binary Length: "< wrote: Kiril Dzolev wrote: You're calling blobGet(), but blobGet is an unitialised variable o

[sqlite] reading BLOB - Segmentation fault

2006-08-02 Thread Kiril Dzolev
This is not realy for this forum, but maybe somebody can tell me what I am doing wrong. I am using CppSQLite wrapper. Code 1 : With this code "Segmentation fault" const unsigned char* putBLOBInBinary(CppSQLite3DB &db, int &lengthBLOB) { CppSQLite3Query q; CppSQLite3Binary blobGet; q=db

Re: [sqlite] write/read from BLOB

2006-07-24 Thread Kiril Dzolev
, on the first row. I am sorry for this basic questions, but I am really new at this. Thank you, Kiril On 24/07/06, Nuno Lucas <[EMAIL PROTECTED]> wrote: Just "bind" your data using prepared statements. You can pass null characters inside. Another option is to use the X'

[sqlite] write/read from BLOB

2006-07-24 Thread Kiril Dzolev
... I need to read the binary data and change it (write binary data). I am using C++ for executing those commands. Sorry for my English and thanks a lot, Kiril