Loading client/mysql.cc +112 −108 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ #include <signal.h> #include <violite.h> const char *VER= "12.9"; const char *VER= "12.10"; /* Don't try to make a nice table if the data is too big */ #define MAX_COLUMN_LENGTH 1024 Loading Loading @@ -645,6 +645,9 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), case 'A': rehash= 0; break; case 'N': column_names= 0; break; case 'e': status.batch= 1; status.add_to_history= 0; Loading Loading @@ -1608,7 +1611,8 @@ print_table_data(MYSQL_RES *result) uint length= field->max_length; if (length > MAX_COLUMN_LENGTH) { tee_fputs(str,PAGER); tee_fputs(" |",PAGER); tee_fputs(str, PAGER); tee_fputs(" |", PAGER); } else tee_fprintf(PAGER, num_flag[off] ? "%*s |" : " %-*s|", Loading Loading
client/mysql.cc +112 −108 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ #include <signal.h> #include <violite.h> const char *VER= "12.9"; const char *VER= "12.10"; /* Don't try to make a nice table if the data is too big */ #define MAX_COLUMN_LENGTH 1024 Loading Loading @@ -645,6 +645,9 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), case 'A': rehash= 0; break; case 'N': column_names= 0; break; case 'e': status.batch= 1; status.add_to_history= 0; Loading Loading @@ -1608,7 +1611,8 @@ print_table_data(MYSQL_RES *result) uint length= field->max_length; if (length > MAX_COLUMN_LENGTH) { tee_fputs(str,PAGER); tee_fputs(" |",PAGER); tee_fputs(str, PAGER); tee_fputs(" |", PAGER); } else tee_fprintf(PAGER, num_flag[off] ? "%*s |" : " %-*s|", Loading