[odb-users] Two namespace in one header file cause generation error

Andrew Cunningham odb at a-cunningham.com
Wed Aug 24 14:30:44 EDT 2016


And the 2.5.0a9 release fixes a couple of things as well
- The ODB compiler will now return an error if you violate the "container
of containers"  restriction
- A bug fixed which prevented containers being loaded when....
You have multiple containers  in the same odb::section
The containing object was derived from a persistent base class that
contained the "db id"
The objects in the containers were also derived from the same persistent
base class
The bug would cause the second and subsequent containers in the section to
not be loaded on "load" of the section.

Thanks again to Boris for fixing!



On Wed, Aug 24, 2016 at 9:55 AM, Boris Kolpackov <boris at codesynthesis.com>
wrote:

> Hi Zhao,
>
> Zhao Xiang <xiang.zhao at gamegou.com> writes:
>
> > As you can see, table `abcdef`.`a` is missing from the file, and
> > table `b` appeared in schema `abcd`, which should be in `abcdef`.
>
> I think this has been already fixed for the next release, but thanks
> for reporting it and providing a test case.
>
> With ODB build from master I get:
>
> CREATE TABLE `abcd`.`a` [...]
>
> CREATE TABLE `abcdef`.`a` [...]
>
> CREATE TABLE `abcdef`.`b` [...]
>
> You can try the latest pre-release:
>
> http://codesynthesis.com/~boris/tmp/odb/pre-release/a9/
>
> Boris
>
>


More information about the odb-users mailing list