~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_check.c

  • Committer: Brian Aker
  • Date: 2009-01-28 19:37:25 UTC
  • mfrom: (779.3.11 devel)
  • Revision ID: brian@tangent.org-20090128193725-pz7g7dnp2dx0863e
Merge from Monty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1755
1755
 
1756
1756
        /* Tell system that we want all memory for our cache */
1757
1757
 
1758
 
void lock_memory(MI_CHECK *param __attribute__((unused)))
 
1758
void lock_memory(MI_CHECK *param)
1759
1759
{
1760
1760
#ifdef SUN_OS                           /* Key-cacheing thrases on sun 4.1 */
1761
1761
  if (param->opt_lock_memory)
1765
1765
      mi_check_print_warning(param,
1766
1766
                             "Failed to lock memory. errno %d",my_errno);
1767
1767
  }
 
1768
#else
 
1769
  (void)param;
1768
1770
#endif
1769
1771
} /* lock_memory */
1770
1772
 
1957
1959
 
1958
1960
int change_to_newfile(const char * filename, const char * old_ext,
1959
1961
                      const char * new_ext,
1960
 
                      uint32_t raid_chunks __attribute__((unused)),
 
1962
                      uint32_t raid_chunks,
1961
1963
                      myf MyFlags)
1962
1964
{
 
1965
  (void)raid_chunks;
1963
1966
  char old_filename[FN_REFLEN],new_filename[FN_REFLEN];
1964
1967
  /* Get real path to filename */
1965
1968
  (void) fn_format(old_filename,filename,"",old_ext,2+4+32);