diff options
author | unknown <hf@deer.(none)> | 2003-09-18 18:58:02 +0500 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2003-09-18 18:58:02 +0500 |
commit | 4c63804846d1530b602a74ff30ad26df7645a94b (patch) | |
tree | 792c65f73e37c55844e8aa4e49b870a840a803f7 /libmysqld | |
parent | 88fcf2a9433f60eddda31504ba14dfe87b375d2c (diff) | |
download | mariadb-git-4c63804846d1530b602a74ff30ad26df7645a94b.tar.gz |
SCRUM
embedded library
some dirty places cleaned:
uint removed from mysql.h as Miguel suggested
empty_string renamed as my_empty_string to get rid of name's intersections
using embedded library
include/mysql.h:
uint -> unsigned int
include/mysql_com.h:
this caused warnings when not in expression
libmysqld/lib_sql.cc:
uint -> unsigned int
sql-common/client.c:
uint -> unsigned int
sql/item_strfunc.cc:
empty_string -> my_empty_string
sql/mysql_priv.h:
empty_string -> my_empty_string
sql/set_var.cc:
empty_string -> my_empty_string
sql/sql_class.cc:
empty_string -> my_empty_string
sql/sql_prepare.cc:
net_flush ifdef-ed
Diffstat (limited to 'libmysqld')
-rw-r--r-- | libmysqld/lib_sql.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc index 6b099158ae0..d5f35b6c550 100644 --- a/libmysqld/lib_sql.cc +++ b/libmysqld/lib_sql.cc @@ -102,7 +102,7 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command, static MYSQL_DATA * STDCALL emb_read_rows(MYSQL *mysql, MYSQL_FIELD *mysql_fields __attribute__((unused)), - uint fields __attribute__((unused))) + unsigned int fields __attribute__((unused))) { MYSQL_DATA *result= ((THD*)mysql->thd)->data; if (!result) @@ -154,7 +154,7 @@ static my_bool STDCALL emb_read_prepare_result(MYSQL *mysql, MYSQL_STMT *stmt) else the lengths are calculated from the offset between pointers. **************************************************************************/ -static void STDCALL emb_fetch_lengths(ulong *to, MYSQL_ROW column, uint field_count) +static void STDCALL emb_fetch_lengths(ulong *to, MYSQL_ROW column, unsigned int field_count) { MYSQL_ROW end; |