diff options
author | guilhem@gbichot4.local <> | 2008-02-18 23:36:57 +0100 |
---|---|---|
committer | guilhem@gbichot4.local <> | 2008-02-18 23:36:57 +0100 |
commit | 045f3c4a5d92dc0acd43db6c5248a69cb421cfcb (patch) | |
tree | eb84c87b6b3703ffc18f62934e35f2c3a7986c4a /libmysql | |
parent | a6d50c102c36f0ffbfb7182673f4c04995412e02 (diff) | |
parent | 9e2b31b0268a05a94032ba96c0830536ce983685 (diff) | |
download | mariadb-git-045f3c4a5d92dc0acd43db6c5248a69cb421cfcb.tar.gz |
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.1-build
into gbichot4.local:/home/mysql_src/mysql-5.1-build-gca
Diffstat (limited to 'libmysql')
-rw-r--r-- | libmysql/libmysql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c index f5ac1c09248..06eae528574 100644 --- a/libmysql/libmysql.c +++ b/libmysql/libmysql.c @@ -3388,7 +3388,7 @@ static void read_binary_time(MYSQL_TIME *tm, uchar **pos) if (length) { uchar *to= *pos; - tm->neg= (bool) to[0]; + tm->neg= to[0]; tm->day= (ulong) sint4korr(to+1); tm->hour= (uint) to[5]; @@ -4218,7 +4218,7 @@ static my_bool is_binary_compatible(enum enum_field_types type1, for (range= range_list; range != range_list_end; ++range) { /* check that both type1 and type2 are in the same range */ - bool type1_found= FALSE, type2_found= FALSE; + my_bool type1_found= FALSE, type2_found= FALSE; for (type= *range; *type != MYSQL_TYPE_NULL; type++) { type1_found|= type1 == *type; |