Thank you Mateuz Regarding build - we've used cmake -DBUILD_TYPE=Release, but assert was left in binary...
On Fri, Mar 9, 2012 at 4:23 PM, Mateusz Loskot <[email protected]> wrote: > On 9 March 2012 15:09, Alex Ott <[email protected]> wrote: >> btw, I found that in the vector-into-type.cpp for postgresql backend, >> there is an assert in line177 - do we really need it? >> We got crash in our test because we compiled soci without -DNDEBUG=1, >> so assert left in code and called abort when sz was higher than >> 65535... >> I checked other backends - this is only one place when we use it > Alex, > > > So, you run debug build :) > > I don't think it is a strong assertion, so perhaps can be removed. > I will have to check the commit logs to see where it comes from though. > I can do it after the weekend. > > > Cheers, > -- > Mateusz Loskot, http://mateusz.loskot.net > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Soci-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/soci-users -- With best wishes, Alex Ott http://alexott.net/ Tiwtter: alexott_en (English), alexott (Russian) Skype: alex.ott ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
