~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/set_var.cc

  • Committer: Brian Aker
  • Date: 2009-02-21 00:18:15 UTC
  • Revision ID: brian@tangent.org-20090221001815-x20e8h71e984lvs1
Completion (?) of uint conversion.

Show diffs side-by-side

added added

removed removed

Lines of Context:
835
835
 
836
836
bool sys_var_enum::update(Session *, set_var *var)
837
837
{
838
 
  *value= (uint) var->save_result.uint32_t_value;
 
838
  *value= (uint32_t) var->save_result.uint32_t_value;
839
839
  return 0;
840
840
}
841
841
 
1845
1845
 
1846
1846
  if (var->value->result_type() == INT_RESULT)
1847
1847
  {
1848
 
    if (!(locale_match= my_locale_by_number((uint) var->value->val_int())))
 
1848
    if (!(locale_match= my_locale_by_number((uint32_t) var->value->val_int())))
1849
1849
    {
1850
1850
      char buf[20];
1851
1851
      int10_to_str((int) var->value->val_int(), buf, -10);