diff options
author | jani@a88-113-38-195.elisa-laajakaista.fi <> | 2007-05-24 13:24:36 +0300 |
---|---|---|
committer | jani@a88-113-38-195.elisa-laajakaista.fi <> | 2007-05-24 13:24:36 +0300 |
commit | fc3b3a0a864fd142f65bbd5ff611d2f09041a258 (patch) | |
tree | 94027c861a0c3fd6ad62c4bee7ae5f7b1088f056 /plugin | |
parent | 2ff938d21c596d1769076d2703b22120d2cf8336 (diff) | |
parent | 088e2395f1833f16c2ea3f7405f604165b4aa2cc (diff) | |
download | mariadb-git-fc3b3a0a864fd142f65bbd5ff611d2f09041a258.tar.gz |
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1
into a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-marvel
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/daemon_example/daemon_example.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/daemon_example/daemon_example.cc b/plugin/daemon_example/daemon_example.cc index 994c385796e..af585bb4302 100644 --- a/plugin/daemon_example/daemon_example.cc +++ b/plugin/daemon_example/daemon_example.cc @@ -60,7 +60,7 @@ pthread_handler_t mysql_heartbeat(void *p) tm_tmp.tm_hour, tm_tmp.tm_min, tm_tmp.tm_sec); - my_write(con->heartbeat_file, buffer, strlen(buffer), MYF(0)); + my_write(con->heartbeat_file, (uchar*) buffer, strlen(buffer), MYF(0)); x++; } @@ -114,7 +114,7 @@ static int daemon_example_plugin_init(void *p) tm_tmp.tm_hour, tm_tmp.tm_min, tm_tmp.tm_sec); - my_write(con->heartbeat_file, buffer, strlen(buffer), MYF(0)); + my_write(con->heartbeat_file, (uchar*) buffer, strlen(buffer), MYF(0)); pthread_attr_init(&attr); pthread_attr_setdetachstate(&attr, @@ -168,7 +168,7 @@ static int daemon_example_plugin_deinit(void *p) tm_tmp.tm_hour, tm_tmp.tm_min, tm_tmp.tm_sec); - my_write(con->heartbeat_file, buffer, strlen(buffer), MYF(0)); + my_write(con->heartbeat_file, (uchar*) buffer, strlen(buffer), MYF(0)); my_close(con->heartbeat_file, MYF(0)); my_free((char *)con, MYF(0)); |