summaryrefslogtreecommitdiff
path: root/client/readline.cc
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-08-22 00:18:32 +0300
committermonty@donna.mysql.com <>2000-08-22 00:18:32 +0300
commitf0952ce3e1e4a315efb62b09038bcd933b51d5a1 (patch)
treec129c5ccdb3df8c87c28c6a51baac6e208294313 /client/readline.cc
parent48ee575ebcae86c55687b41e6af9c48c75f55d77 (diff)
downloadmariadb-git-f0952ce3e1e4a315efb62b09038bcd933b51d5a1.tar.gz
FLUSH TABLE table_list
Fixes for RENAME TABLE Portability fixes
Diffstat (limited to 'client/readline.cc')
-rw-r--r--client/readline.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/readline.cc b/client/readline.cc
index 95e98cb90c2..c14059d98c8 100644
--- a/client/readline.cc
+++ b/client/readline.cc
@@ -105,7 +105,7 @@ static bool init_line_buffer_from_string(LINE_BUFFER *buffer,my_string str)
{
uint length;
bzero((char*) buffer,sizeof(buffer[0]));
- length=strlen(str);
+ length=(uint) strlen(str);
if (!(buffer->buffer=buffer->start_of_line=buffer->end_of_line=
(char*)my_malloc(length+2,MYF(MY_FAE))))
return 1;