diff options
author | unknown <ram@gw.mysql.r18.ru> | 2004-10-18 12:43:52 +0500 |
---|---|---|
committer | unknown <ram@gw.mysql.r18.ru> | 2004-10-18 12:43:52 +0500 |
commit | 037f07006df1521b02b8effee7616228df1945cb (patch) | |
tree | 3b56b63626876218c71a9813c876331311a23025 /libmysql/manager.c | |
parent | 221d51ebb1b178061904e68cc2ff40a11da835d1 (diff) | |
download | mariadb-git-037f07006df1521b02b8effee7616228df1945cb.tar.gz |
A fix (bug #6057: Data Type Problem in manager.c).
libmysql/manager.c:
Code clean-up: as my_net_read() returns ulong value we should use ulong here.
Diffstat (limited to 'libmysql/manager.c')
-rw-r--r-- | libmysql/manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/manager.c b/libmysql/manager.c index f030eb17889..631bfa26cb2 100644 --- a/libmysql/manager.c +++ b/libmysql/manager.c @@ -237,7 +237,7 @@ int STDCALL mysql_manager_fetch_line(MYSQL_MANAGER* con, char* res_buf, char* res_buf_end=res_buf+res_buf_size; char* net_buf=(char*) con->net.read_pos, *net_buf_end; int res_buf_shift=RES_BUF_SHIFT; - uint num_bytes; + ulong num_bytes; if (res_buf_size<RES_BUF_SHIFT) { |