~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/get_system_var.cc

init_read_record_idx return result should be checked now that it checks startIndexScan result.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
    component_name= &component;                 // Empty string
73
73
  }
74
74
 
75
 
  if (!(var= find_sys_var(base_name->str, base_name->length)))
 
75
  if (!(var= find_sys_var(base_name->str)))
76
76
    return 0;
77
77
  if (component.str)
78
78
  {