diff options
author | Dmitry Shulga <Dmitry.Shulga@oracle.com> | 2011-02-05 11:04:15 +0600 |
---|---|---|
committer | Dmitry Shulga <Dmitry.Shulga@oracle.com> | 2011-02-05 11:04:15 +0600 |
commit | d197051eacb98391b6dfa8ef5ce4bbedbebcbee4 (patch) | |
tree | 8a9941779c7f7b3f3998bc65c41aeaf2f35014f0 /client/my_readline.h | |
parent | 4c9cb95c2e3657b826b856c9dbb0f15a886b422b (diff) | |
parent | 980868eb4e4db550497ba40674b5b64f2e062cd9 (diff) | |
download | mariadb-git-d197051eacb98391b6dfa8ef5ce4bbedbebcbee4.tar.gz |
Auto-merge from mysql-5.1 for bug#57450.
Diffstat (limited to 'client/my_readline.h')
-rw-r--r-- | client/my_readline.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/my_readline.h b/client/my_readline.h index 08cff565819..276e279f43d 100644 --- a/client/my_readline.h +++ b/client/my_readline.h @@ -28,11 +28,13 @@ typedef struct st_line_buffer uint eof; ulong max_size; ulong read_length; /* Length of last read string */ + int error; + bool truncated; } LINE_BUFFER; extern LINE_BUFFER *batch_readline_init(ulong max_size,FILE *file); extern LINE_BUFFER *batch_readline_command(LINE_BUFFER *buffer, char * str); -extern char *batch_readline(LINE_BUFFER *buffer, bool *truncated); +extern char *batch_readline(LINE_BUFFER *buffer); extern void batch_readline_end(LINE_BUFFER *buffer); #endif /* CLIENT_MY_READLINE_INCLUDED */ |