~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/checksum.c

  • Committer: Jay Pipes
  • Date: 2008-07-17 17:54:00 UTC
  • mto: This revision was merged to the branch mainline in revision 182.
  • Revision ID: jay@mysql.com-20080717175400-xm2aazihjra8mdzq
Removal of DBUG from libdrizzle/ - Round 2

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
16
 
17
 
#include "mysys_priv.h"
18
 
 
 
17
#include <my_global.h>
19
18
#include <my_sys.h>
20
19
#include <zlib.h>
21
20
 
29
28
      length    length of the block
30
29
*/
31
30
 
32
 
ha_checksum my_checksum(ha_checksum crc, const unsigned char *pos, size_t length)
 
31
ha_checksum my_checksum(ha_checksum crc, const uchar *pos, size_t length)
33
32
{
34
33
  return (ha_checksum)crc32((uint)crc, pos, length);
35
34
}