~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/crc32/crc32udf.cc

  • Committer: Lee
  • Date: 2008-10-03 23:31:06 UTC
  • mfrom: (413.2.3 drizzle)
  • mto: This revision was merged to the branch mainline in revision 459.
  • Revision ID: lbieber@lbieber-desktop-20081003233106-tgvzu0fh25gb3xeg
breaking out enum field classes

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
15
15
 
16
 
#include "config.h"
17
 
 
18
 
#include CSTDINT_H
 
16
#include <stdint.h>
19
17
#include <drizzled/common_includes.h>
20
18
#include <drizzled/item_func.h>
21
19
#include <zlib.h>
40
38
    return 0; /* purecov: inspected */
41
39
  }
42
40
  null_value=0;
43
 
  return (int64_t) crc32(0L, (unsigned char*)res->ptr(), res->length());
 
41
  return (int64_t) crc32(0L, (uchar*)res->ptr(), res->length());
44
42
}
45
43
 
46
44
Item_func* create_crc32udf_item(MEM_ROOT* m)