summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Osipov <kostja@sun.com>2009-10-09 13:06:41 +0400
committerKonstantin Osipov <kostja@sun.com>2009-10-09 13:06:41 +0400
commit62672568bd6eaefab8c4d5b3d9701010c394dba3 (patch)
tree62e98f865c4d831935560c631a06fb9e76207bc5 /include
parenta7b014805775602aa02948bd5fc00335de9a4aa6 (diff)
downloadmariadb-git-62672568bd6eaefab8c4d5b3d9701010c394dba3.tar.gz
Backport to 5.4 the following changesets:
revno: 2476.785.24 committer: kostja@bodhi.(none) timestamp: Tue 2007-10-16 20:19:00 +0400 message: Reflect a rename of a member in the client ABI (a compatible change). ---------------------------------------------------------- revno: 2476.423.26 committer: kostja@bodhi.(none) timestamp: Tue 2007-10-16 20:12:37 +0400 message: Update the client ABI to reflect member rename (this is a backward-compatible change). ---------------------------------------------------------- revno: 2476.785.22 committer: kostja@bodhi.(none) timestamp: Tue 2007-10-16 19:37:25 +0400 message: Remove some remains of support of 3.22 protocol. This was in fact dead code, since the option to talk 3.22 protocol was removed in 4.1 and there is no other protocol negotiation mechanism besides this option.
Diffstat (limited to 'include')
-rw-r--r--include/mysql.h.pp10
-rw-r--r--include/mysql_com.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/include/mysql.h.pp b/include/mysql.h.pp
index 633cde41130..fcbcea61873 100644
--- a/include/mysql.h.pp
+++ b/include/mysql.h.pp
@@ -28,15 +28,15 @@ typedef struct st_net {
unsigned int *return_status;
unsigned char reading_or_writing;
char save_char;
- my_bool unused0;
- my_bool unused;
- my_bool compress;
my_bool unused1;
+ my_bool unused2;
+ my_bool compress;
+ my_bool unused3;
unsigned char *query_cache_query;
unsigned int last_errno;
unsigned char error;
- my_bool unused2;
- my_bool return_errno;
+ my_bool unused4;
+ my_bool unused5;
char last_error[512];
char sqlstate[5 +1];
void *extension;
diff --git a/include/mysql_com.h b/include/mysql_com.h
index db5a5eb8741..672c359a6f7 100644
--- a/include/mysql_com.h
+++ b/include/mysql_com.h
@@ -254,10 +254,10 @@ typedef struct st_net {
unsigned int *return_status;
unsigned char reading_or_writing;
char save_char;
- my_bool unused0; /* Please remove with the next incompatible ABI change. */
- my_bool unused; /* Please remove with the next incompatible ABI change */
- my_bool compress;
my_bool unused1; /* Please remove with the next incompatible ABI change. */
+ my_bool unused2; /* Please remove with the next incompatible ABI change */
+ my_bool compress;
+ my_bool unused3; /* Please remove with the next incompatible ABI change. */
/*
Pointer to query object in query cache, do not equal NULL (0) for
queries in cache that have not stored its results yet
@@ -270,8 +270,8 @@ typedef struct st_net {
unsigned char *query_cache_query;
unsigned int last_errno;
unsigned char error;
- my_bool unused2; /* Please remove with the next incompatible ABI change. */
- my_bool return_errno;
+ my_bool unused4; /* Please remove with the next incompatible ABI change. */
+ my_bool unused5; /* Please remove with the next incompatible ABI change. */
/** Client library error message buffer. Actually belongs to struct MYSQL. */
char last_error[MYSQL_ERRMSG_SIZE];
/** Client library sqlstate buffer. Set along with the error message. */