~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/handler.cc

MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2710
2710
{
2711
2711
  char path[FN_REFLEN];
2712
2712
  File file;
2713
 
  int result= 1;
 
2713
  bool result= true;
2714
2714
  DBUG_ENTER("update_frm_version");
2715
2715
 
2716
2716
  /*
2734
2734
 
2735
2735
    int4store(version, MYSQL_VERSION_ID);
2736
2736
 
2737
 
    if ((result= my_pwrite(file,(uchar*) version,4,51L,MYF_RW)))
 
2737
    if (pwrite(file, (uchar*)version, 4, 51L) == 0)
 
2738
    {
 
2739
      result= false;
2738
2740
      goto err;
 
2741
    }
2739
2742
 
2740
2743
    for (entry=(TABLE*) hash_first(&open_cache,(uchar*) key,key_length, &state);
2741
2744
         entry;