summaryrefslogtreecommitdiff
path: root/include/violite.h
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-01-21 21:07:59 +0200
committermonty@mashka.mysql.fi <>2003-01-21 21:07:59 +0200
commit25c393a12ea7264f265f958027d6e0a1735acc77 (patch)
treeb3f7b07e6d74a88c6ef0b3e8f43bc27b784bb24d /include/violite.h
parent6522ee6c9845cf61903592e9a36c78dc4f69f569 (diff)
downloadmariadb-git-25c393a12ea7264f265f958027d6e0a1735acc77.tar.gz
Portability fixes (for windows)
Some changes to the prepared statement protocol to make it easier to use and faster.
Diffstat (limited to 'include/violite.h')
-rw-r--r--include/violite.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/violite.h b/include/violite.h
index b8bfb2183a2..579043dcffa 100644
--- a/include/violite.h
+++ b/include/violite.h
@@ -216,6 +216,7 @@ enum SSL_type
SSL_TYPE_SPECIFIED
};
+
#ifndef EMBEDDED_LIBRARY
/* This structure is for every connection on both sides */
struct st_vio
@@ -233,7 +234,7 @@ struct st_vio
void (*viodelete)(Vio*);
int (*vioerrno)(Vio*);
int (*read)(Vio*, gptr, int);
- int (*write)(Vio*, gptr, int);
+ int (*write)(Vio*, const gptr, int);
int (*vioblocking)(Vio*, my_bool, my_bool *);
my_bool (*is_blocking)(Vio*);
int (*viokeepalive)(Vio*, my_bool);