List:MySQL++« Previous MessageNext Message »
From:Russell Robinson Date:October 28 2008 12:26am
Subject:Re: Patch for ssqls null blob deficiency
View as plain text  
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)
Thread
Patch for ssqls null blob deficiencyRussell Robinson27 Oct
  • Re: Patch for ssqls null blob deficiencyRussell Robinson27 Oct
  • Re: Patch for ssqls null blob deficiencyWarren Young27 Oct
    • Re: Patch for ssqls null blob deficiencyRussell Robinson27 Oct
      • Re: Patch for ssqls null blob deficiencyWarren Young28 Oct
        • Re: Patch for ssqls null blob deficiencyRussell Robinson28 Oct
        • Re: Patch for ssqls null blob deficiencyRussell Robinson28 Oct
          • Re: Patch for ssqls null blob deficiencyRussell Robinson28 Oct
            • Re: Patch for ssqls null blob deficiencyRussell Robinson28 Oct
              • Re: Patch for ssqls null blob deficiencyWarren Young28 Oct
                • Re: Patch for ssqls null blob deficiencyRussell Robinson28 Oct
                  • Re: Patch for ssqls null blob deficiencyRussell Robinson28 Oct
                    • Re: Patch for ssqls null blob deficiencyWarren Young29 Oct
                      • Re: Patch for ssqls null blob deficiencyRussell Robinson29 Oct
                        • Re: Patch for ssqls null blob deficiencyWarren Young29 Oct
                          • Re: Patch for ssqls null blob deficiencyRussell Robinson29 Oct