Uhm now,  when I assign transaction, it says this:

*Thrown error: ERROR:  prepared statement "SQL0x9c4dac874B0DC51" does not
exist*


2010/12/2 Dushan Savich <[email protected]>

> Hey Koen,
>
> I've updated to the latest  version, and now, instead of crashing it throws
> this:
>
> *Operation requires an active transaction*
>
>
> I know what to do now ;-)
>
> Cheers!
> Dushan
>
> 2010/12/2 Koen Deforche <[email protected]>
>
> Hey Dushan,
>>
>> 2010/12/2 Dushan Savich <[email protected]>:
>> > Hey all,
>> >
>> > Server crashes at these two lines :
>> >
>> >         Wt::Dbo::Query<int> query = session.query<int> ( "select
>> count(*)
>> > from tracks t ").where(" t.computer_id = ? ").bind(computerId);
>> >         int val =  query.resultValue();  /// <-- it will actually crash
>> here
>> >
>> >
>> > It won't crash if I start reading  the   query.field()  values.
>> >
>> > What do you guys think I should do?
>>
>> The code looks fine. Some more debug information would be helpful --
>> e.g. a valgrind and/or gdb or MSVC debugger trace ?
>>
>> Regards,
>> koen
>>
>>
>> ------------------------------------------------------------------------------
>> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
>> Tap into the largest installed PC base & get more eyes on your game by
>> optimizing for Intel(R) Graphics Technology. Get started today with the
>> Intel(R) Software Partner Program. Five $500 cash prizes are up for
>> grabs.
>> http://p.sf.net/sfu/intelisp-dev2dev
>> _______________________________________________
>> witty-interest mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>
>
>
>
> --
> Kind Regards,
>
> Dushan Savich
> [email protected]
> http://stosha.com/
> +381 64 329 33 55
> Nehruova 95/51
> 11070 New Belgrade
> Belgrade
> Serbia
>



-- 
Kind Regards,
Dushan Savich
[email protected]
http://stosha.com/
+381 64 329 33 55
Nehruova 95/51
11070 New Belgrade
Belgrade
Serbia
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to