~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/util/convert.h

  • Committer: Lee Bieber
  • Date: 2010-11-07 19:34:48 UTC
  • mfrom: (1910.1.2 build)
  • Revision ID: kalebral@gmail.com-20101107193448-64kdu912qej354sh
Merge Stewart - including adapting and expanding the "differences from mysql" page from the wiki.
Merge Stewart - fix bug 668143: drizzleslap with --commit runs second iteration data load in a transaction

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
 
22
 
 
23
21
#ifndef DRIZZLED_UTIL_CONVERT_H
24
22
#define DRIZZLED_UTIL_CONVERT_H
25
23
 
28
26
#include <iostream>
29
27
#include <sstream>
30
28
 
31
 
#include "drizzled/visibility.h"
32
 
 
33
29
namespace drizzled
34
30
{
35
31
 
49
45
 
50
46
void bytesToHexdumpFormat(std::string &s, const unsigned char *from, size_t from_length);
51
47
 
52
 
DRIZZLED_API uint64_t drizzled_string_to_hex(char *to, const char *from,
53
 
                                             uint64_t from_size);
54
 
DRIZZLED_API void drizzled_hex_to_string(char *to, const char *from,
55
 
                                         uint64_t from_size);
 
48
uint64_t drizzled_string_to_hex(char *to, const char *from,
 
49
                                uint64_t from_size);
 
50
void drizzled_hex_to_string(char *to, const char *from, uint64_t from_size);
56
51
 
57
52
} /* namespace drizzled */
58
53