~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/definitions.h

  • Committer: Olaf van der Spek
  • Date: 2011-07-07 13:09:02 UTC
  • mto: This revision was merged to the branch mainline in revision 2385.
  • Revision ID: olafvdspek@gmail.com-20110707130902-lbhjmqfb7kq64s9p
Refactor tablename_to_filename()

Show diffs side-by-side

added added

removed removed

Lines of Context:
432
432
  ((sizeof(a) / sizeof(*(a))) / \
433
433
   static_cast<size_t>(!(sizeof(a) % sizeof(*(a)))))
434
434
 
435
 
 
436
 
/* Some types that is different between systems */
437
 
 
438
 
#ifndef FN_LIBCHAR
439
435
#define FN_LIBCHAR  '/'
440
 
#define FN_ROOTDIR  "/"
441
 
#endif
442
 
#ifndef OS_FILE_LIMIT
443
 
#define OS_FILE_LIMIT  65535
444
 
#endif
445
436
 
446
437
/*
447
438
  How much overhead does malloc have. The code often allocates