Btw, the same happens with the command line sqlite program

$ sqlite
SQLite version 2.8.17
Enter ".help" for instructions
sqlite> create table t(a integer);
sqlite> insert into t values(1);
sqlite> select * from t;
1
sqlite> pragma page_size;
sqlite> pragma page_count;
sqlite>

Both pragmas don't return anything

On Mon, May 25, 2009 at 6:55 PM, João Eiras <joao.ei...@gmail.com> wrote:
> On Mon, May 25, 2009 at 6:48 PM, Igor Tandetnik <itandet...@mvps.org> wrote:
>> "João Eiras" <joao.ei...@gmail.com> wrote
>> in message
>> news:e72b1b360905250934h1b39c95eycab618faca87d...@mail.gmail.com
>>> Sorry, wrong url...
>>> http://pastebin.ca/1433959
>>>
>>> On Mon, May 25, 2009 at 5:37 PM, João Eiras
>>> <joao.ei...@gmail.com> wrote:
>>>> Hi there.
>>>> I'm trying the following code
>>>> http://pastebin.ca/143395
>>
>> Are you, by any chance, building a release version of that code? Realize
>> that, in release build, assert() completely disappears together with
>> whatever expression it contains, so your program becomes mostly a no-op.
>>
>
> If I posted that code, it's safe to assume it is running and I know
> what an assert it.
>
>> How exactly do you determine whether your code works or doesn't work?
>
> Because if breaks many of the asserts, like, I get errors in standards output.
>
>>
>> Igor Tandetnik
>>
>>
>>
>>
>> _______________________________________________
>> sqlite-users mailing list
>> sqlite-users@sqlite.org
>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>>
>>
>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to