On Sun, Jan 29, 2012 at 1:21 PM, Harsh vardhan
<[email protected]> wrote:
> hii... I have found "assert(fixed == true);" written at many places and
> comment adjacent to "fixed" describes it as "/**< If item fixed with
> fix_fields */"... but I am still unable to understand the purpose of
> this boolean,,, please tell me the purpose of checking its value...
> thanx in advance

Hi Harsh

I don't know all the things that a fix_fields() call actually does,
but see for instance drizzled/item/field.cc for a general example
(other types of Items seem to have their own variants).

Basically, it means an Item object has been prepared for use, before
the query is executed and the Item is used to store a value.

Interestingly, at least the fix_fields() method in
drizzled/item/field.cc seems to contain a lot of special case code
about handling views and drizzle doesn't support views. So it is old
MySQL code.

henrik


-- 
[email protected]
+358-40-8211286 skype: henrik.ingo irc: hingo
www.openlife.cc

My LinkedIn profile: http://www.linkedin.com/profile/view?id=9522559

_______________________________________________
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