On Jun 8, 2009, at 2:47 PM, Adrian Cornish wrote:
> const char* NAME::names[] = {
> $names
> };
> ! const char* NAME::table_ = #NAME;
> )
>
> template <class Manip>
No, that's not right. This is saying that the table name includes the
quote marks. The quotes should only be added by the bits of code that
create SQL. The table name remains the same regardless of whether it
needs quotes or not. Also, it ignores SSQLS::table() and friends.
By the way, it's easier to generate patches against svn. Just modify
the code in the svn tree, then say "svn diff" to get the patch. This
generates unified diffs instead of ... context? ... diffs, which
patch(1) likes better.