Re: [Cppcms-users] Suggestion: accessing invalid column should show name
Brought to you by:
artyom-beilis
From: Marcel H. <ke...@co...> - 2012-06-13 21:51:29
|
Am 07.06.2012 05:41, schrieb ele...@ex...: > Hi Artyom, > > Im referring to this error message: > > cppdb::invalid_column attempt access to invalid column > > Without specifying the wrong column name in the error, how can you tell > whats wrong? > > Petr > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users I guess you are trying to get a coloumn by its name? Try to get it via its position instead. As I posted some times ago, never use SELECT * ! If you do so, you can define the order of the coloums and get them via the position. Also it's faster. For you problem: either make a solution on your own and then commit as a patch or make a feature request tracker. Regards |