Hi again,
On Tue, 28 Oct 2008 11:22:29 am Russell Robinson wrote:
> On Tue, 28 Oct 2008 10:13:48 am Warren Young wrote:
> > This should be taken care of by line 192 in lib/type_info.cpp.
>
> I think I've found the problem.
>
> Line 192 in lib/type_info.cpp does not include this flag:
> mysql_ti_sql_type_info::tf_default
>
> The question is: should it include the tf_default flag?
The doco says this:
****
// Types with tf_default set are added to a lookup map in the
// mysql_type_info_lookup class in order to provide reverse lookup
// of C++ types to SQL types. If you take the subset of all items
// marked as default, the typeid() of each item must be unique.
****
If I understand this right, then all the Null<sql_*blob> entries in
type_info.cpp should have the tf_default flag.
I'm going to try it! I'll report back.
--
Russell Robinson (russellr@stripped)