summaryrefslogtreecommitdiff
path: root/client/mysqlcheck.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-09-07 15:18:53 +0200
committerunknown <serg@serg.mylan>2004-09-07 15:18:53 +0200
commit77a86154880e0e4b8528f2363317c480dff62fe0 (patch)
treeeb69e64fb069e7468a92e59eca620860f68aff61 /client/mysqlcheck.c
parentb5c6ac6a03efa7c56795a37f9b35a140e8b7af1d (diff)
parent6b1444d7ba70a286f3fc543ab5bc8927106f5638 (diff)
downloadmariadb-git-77a86154880e0e4b8528f2363317c480dff62fe0.tar.gz
merged
BitKeeper/etc/ignore: auto-union client/mysqlcheck.c: Auto merged myisammrg/myrg_open.c: Auto merged scripts/mysqld_safe.sh: Auto merged sql/sql_analyse.cc: Auto merged
Diffstat (limited to 'client/mysqlcheck.c')
-rw-r--r--client/mysqlcheck.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c
index b072d1c86fe..bcfceb74f14 100644
--- a/client/mysqlcheck.c
+++ b/client/mysqlcheck.c
@@ -436,18 +436,18 @@ static int process_all_tables_in_db(char *database)
LINT_INIT(res);
if (use_db(database))
return 1;
- if (!(mysql_query(sock, "SHOW TABLES") ||
- (res = mysql_store_result(sock))))
+ if (mysql_query(sock, "SHOW TABLES") ||
+ !((res= mysql_store_result(sock))))
return 1;
if (opt_all_in_1)
{
- /*
+ /*
We need table list in form `a`, `b`, `c`
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
*/
-
+
char *tables, *end;
uint tot_length = 0;