void Item_param::sync_clones()
{
  Item_param **c_ptr= m_clones.begin();
  Item_param **end= m_clones.end();
  for ( ; c_ptr < end; c_ptr++)
  {
    Item_param *c= *c_ptr;
    /* Scalar-type members: */
    c->maybe_null= maybe_null;
    c->null_value= null_value;
    c->max_length= max_length;
    c->decimals= decimals;
    c->state= state;
    c->item_type= item_type;
    c->set_param_func= set_param_func;
    c->value= value;
    c->unsigned_flag= unsigned_flag;
    /* Class-type members: */
    c->decimal_value= decimal_value;
    /*
      Note that String's assignment op properly sets m_is_alloced to 'false',
      which is correct here: c->str_value doesn't own anything.
    */
    c->str_value= str_value;
    c->str_value_ptr= str_value_ptr;
    c->collation= collation;
  }
}
void Item_param::sync_clones()
{
  Item_param **c_ptr= m_clones.begin();
  Item_param **end= m_clones.end();
  for ( ; c_ptr < end; c_ptr++)
  {
    Item_param *c= *c_ptr;
     
    c->maybe_null= maybe_null;
    c->null_value= null_value;
    c->max_length= max_length;
    c->decimals= decimals;
    c->state= state;
    c->item_type= item_type;
    c->set_param_func= set_param_func;
    c->value= value;
    c->unsigned_flag= unsigned_flag;
     
    c->decimal_value= decimal_value;
     
    c->str_value= str_value;
    c->str_value_ptr= str_value_ptr;
    c->collation= collation;
  }
}