On Sat, 10 Sep 2011 14:57:44 +0300, Henrik Ingo <[email protected]> 
wrote:
> On Sat, Sep 10, 2011 at 1:38 AM, Stewart Smith <[email protected]> 
> wrote:
> > On Sun, 28 Aug 2011 22:11:23 +0300, Henrik Ingo <[email protected]> 
> > wrote:
> >> This is a gdb print of a drizzled::String:
> >>
> >> {Ptr = 0x90c66f0 "hello", str_length = 5, Alloced_length = 0, alloced
> >> = false, str_charset = 0x876f000}
> >>
> >> Why is there a str_charset? Does it actually convey a meaning, or is
> >> it a MySQL legacy?
> >
> > mostly collation. although charset can be binary or utf8. i.e. binary
> > can contain things that are not valid utf8 (i.e. BLOB rather than TEXT)
> 
> You mean the meaning of the value in that field is actually
> charset+collation, where charset is always utf8 or binary?

yes.

-- 
Stewart Smith

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to