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
