diff options
Diffstat (limited to 'sql/sql_test.cc')
-rw-r--r-- | sql/sql_test.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_test.cc b/sql/sql_test.cc index d20bc74ecb2..651fd52d6c3 100644 --- a/sql/sql_test.cc +++ b/sql/sql_test.cc @@ -188,7 +188,10 @@ TEST_join(JOIN *join) void mysql_print_status(THD *thd) { + char current_dir[FN_REFLEN]; printf("\nStatus information:\n\n"); + my_getwd(current_dir, sizeof(current_dir),MYF(0)); + printf("Current dir: %s\n", current_dir); if (thd) thd->proc_info="locks"; thr_print_locks(); // Write some debug info |