summaryrefslogtreecommitdiff
path: root/sql/sql_test.cc
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2003-11-02 14:00:25 +0200
committerunknown <monty@mysql.com>2003-11-02 14:00:25 +0200
commit18665803f418cd0f1333349cd433f5b58818cc9e (patch)
tree4671bcf9022a714aa9c3b90f39cd86bb26fd47d1 /sql/sql_test.cc
parentc9fa9615a3a3fe88430f5f867655ff84f7dbb7dc (diff)
downloadmariadb-git-18665803f418cd0f1333349cd433f5b58818cc9e.tar.gz
Cleanups (comments and compiler warnings)
dded init of variable to fix core dump on startup errors mysql-test/Makefile.am: Added transformation of socket address for mysql-test-run mysql-test/mysql-test-run.sh: Added option --socket sql/derror.cc: Removed compiler warning sql/mysql_priv.h: Moved assert up to be able to use asserts in other header files sql/mysqld.cc: Fixed comment sql/sql_bitmap.h: Added copyright notice Removed not needed header files sql/sql_class.cc: Added init of variable to fix core dump on startup errors sql/sql_test.cc: Fixed compiler errors (from key_map code) BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/sql_test.cc')
-rw-r--r--sql/sql_test.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sql_test.cc b/sql/sql_test.cc
index 7e3513367fd..47f0932b221 100644
--- a/sql/sql_test.cc
+++ b/sql/sql_test.cc
@@ -164,10 +164,11 @@ TEST_join(JOIN *join)
{
JOIN_TAB *tab=join->join_tab+i;
TABLE *form=tab->table;
- fprintf(DBUG_FILE,"%-16.16s type: %-7s q_keys: %4d refs: %d key: %d len: %d\n",
+ char key_map_buff[128];
+ fprintf(DBUG_FILE,"%-16.16s type: %-7s q_keys: %s refs: %d key: %d len: %d\n",
form->table_name,
join_type_str[tab->type],
- tab->keys,
+ tab->keys.print(key_map_buff),
tab->ref.key_parts,
tab->ref.key,
tab->ref.key_length);