diff options
author | monty@hundin.mysql.fi <> | 2002-01-02 21:29:41 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-01-02 21:29:41 +0200 |
commit | 4b877e0088e6f32a606ffaa0fb3c94afb0b24388 (patch) | |
tree | ef8afaf7a0fed42b30ef0d9d38acccc992b5f87d /client/readline.cc | |
parent | 5b77e3391050f1f585ab28816ad31761d93e8264 (diff) | |
download | mariadb-git-4b877e0088e6f32a606ffaa0fb3c94afb0b24388.tar.gz |
Added macros for nice TIMESPEC usage.
Fixes for building MySQL with gcc 3.0
Added SIGNED / UNSIGNED casts
Fixed core dump bug in net_clear() with libmysqld.
Back to using semaphores in query cache.
Added 'Null' and 'Index_type' to SHOW INDEX.
Diffstat (limited to 'client/readline.cc')
-rw-r--r-- | client/readline.cc | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/client/readline.cc b/client/readline.cc index 38da8499eef..f5fbfd8cd0c 100644 --- a/client/readline.cc +++ b/client/readline.cc @@ -119,20 +119,11 @@ static bool init_line_buffer_from_string(LINE_BUFFER *buffer,my_string str) } -static void free_line_buffer(LINE_BUFFER *buffer) -{ - if (buffer->buffer) - { - my_free((gptr) buffer->buffer,MYF(0)); - buffer->buffer=0; - } -} - - -/* Fill the buffer retaining the last n bytes at the beginning of the - newly filled buffer (for backward context). Returns the number of new - bytes read from disk. */ - +/* + Fill the buffer retaining the last n bytes at the beginning of the + newly filled buffer (for backward context). Returns the number of new + bytes read from disk. +*/ static uint fill_buffer(LINE_BUFFER *buffer) { |