MySQL 8.0.40
Source Code Documentation
|
#include <stdio.h>
#include <sys/types.h>
#include "client/my_readline.h"
#include "m_string.h"
#include "my_dbug.h"
#include "my_dir.h"
#include "my_inttypes.h"
#include "my_io.h"
#include "my_sys.h"
#include "my_thread_local.h"
#include "mysql/service_mysql_alloc.h"
Functions | |
static bool | init_line_buffer (LINE_BUFFER *buffer, File file, ulong size, ulong max_size) |
static bool | init_line_buffer_from_string (LINE_BUFFER *buffer, char *str) |
static size_t | fill_buffer (LINE_BUFFER *buffer) |
static char * | intern_read_line (LINE_BUFFER *buffer, ulong *out_length) |
LINE_BUFFER * | batch_readline_init (ulong max_size, FILE *file) |
char * | batch_readline (LINE_BUFFER *line_buff, bool binary_mode) |
void | batch_readline_end (LINE_BUFFER *line_buff) |
LINE_BUFFER * | batch_readline_command (LINE_BUFFER *line_buff, char *str) |
char * batch_readline | ( | LINE_BUFFER * | line_buff, |
bool | binary_mode | ||
) |
LINE_BUFFER * batch_readline_command | ( | LINE_BUFFER * | line_buff, |
char * | str | ||
) |
void batch_readline_end | ( | LINE_BUFFER * | line_buff | ) |
LINE_BUFFER * batch_readline_init | ( | ulong | max_size, |
FILE * | file | ||
) |
|
static |
|
static |
|
static |
|
static |