~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_key.cc

  • Committer: Stewart Smith
  • Date: 2011-03-29 01:30:47 UTC
  • mto: (2257.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2258.
  • Revision ID: stewart@flamingspork.com-20110329013047-5ujzfx6pahmwuko2
have CachedDirectory print out a warning if we can't stat() something in a directory. We should always have access to at least stat() things in directories Drizzle is running in (otherwise there is likely a problem)

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
/* Functions to handle keys */
17
17
 
18
18
#include "myisam_priv.h"
19
 
#include "drizzled/charset_info.h"
 
19
#include <drizzled/charset_info.h>
20
20
#ifdef HAVE_IEEEFP_H
21
21
#include <ieeefp.h>
22
22
#endif
65
65
    enum drizzled::ha_base_keytype type=(enum drizzled::ha_base_keytype) keyseg->type;
66
66
    uint32_t length=keyseg->length;
67
67
    uint32_t char_length;
68
 
    const drizzled::CHARSET_INFO * const cs=keyseg->charset;
 
68
    const drizzled::charset_info_st * const cs=keyseg->charset;
69
69
 
70
70
    if (keyseg->null_bit)
71
71
    {
181
181
    uint32_t length= keyseg->length;
182
182
    uint32_t char_length;
183
183
    unsigned char *pos;
184
 
    const drizzled::CHARSET_INFO * const cs=keyseg->charset;
 
184
    const drizzled::charset_info_st * const cs=keyseg->charset;
185
185
    keypart_map>>= 1;
186
186
    if (keyseg->null_bit)
187
187
    {