[odb-users] Assumed bug in odb::query in_range when range is empty

Boris Kolpackov boris at codesynthesis.com
Mon Sep 14 13:49:56 EDT 2015


Hi Markus,

Markus Klemm <markus at markusklemm.net> writes:

> I think I found a bug in odb::query<>::field:in_range(begin,end) : 
> If the given range is empty i.e. begin == end, the resulting sql 
> query ("WHERE [type].[field] IN ()") is malformend [...]

Yes, as I mentioned in one of my previous emails, this is a known
bug that we have fixed for the next release:

http://scm.codesynthesis.com/?p=odb/libodb-mssql.git;a=commit;h=f25ff0d1163ea65abd709b6037098f6a2199a238

Boris



More information about the odb-users mailing list