Commit 999e4ad1 authored by unknown's avatar unknown

Merge bk-internal:/home/bk/mysql-4.0/

into serg.mylan:/usr/home/serg/Abk/mysql-4.0

parents e4ff3438 21642fb5
...@@ -413,18 +413,18 @@ static int process_all_tables_in_db(char *database) ...@@ -413,18 +413,18 @@ static int process_all_tables_in_db(char *database)
LINT_INIT(res); LINT_INIT(res);
if (use_db(database)) if (use_db(database))
return 1; return 1;
if (!(mysql_query(sock, "SHOW TABLES") || if (mysql_query(sock, "SHOW TABLES") ||
(res = mysql_store_result(sock)))) !((res= mysql_store_result(sock))))
return 1; return 1;
if (opt_all_in_1) if (opt_all_in_1)
{ {
/* /*
We need table list in form `a`, `b`, `c` We need table list in form `a`, `b`, `c`
that's why we need 4 more chars added to to each table name that's why we need 4 more chars added to to each table name
space is for more readable output in logs and in case of error space is for more readable output in logs and in case of error
*/ */
char *tables, *end; char *tables, *end;
uint tot_length = 0; uint tot_length = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment