diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2013-07-04 15:45:58 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2013-07-04 15:45:58 +0400 |
commit | 77584dd6d7a5d7c1d2f8b99726316017dc5ed5fc (patch) | |
tree | c78144f039841952896e9139fd9b585857f22ba1 /sql/log.cc | |
parent | 5b19ff65b3cf5c7a8ac1a961629c49e6485c2c8d (diff) | |
download | mariadb-git-77584dd6d7a5d7c1d2f8b99726316017dc5ed5fc.tar.gz |
MDEV-4756: 10.0-monty tree: log_state.test fails
- make the test output stable
- make Log_to_csv_event_handler::log_slow() to write the value
of thd->thread_id (it didn't, and so 0 was always logged).
Diffstat (limited to 'sql/log.cc')
-rw-r--r-- | sql/log.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/log.cc b/sql/log.cc index 3c1e830402a..78fbd2cf0ab 100644 --- a/sql/log.cc +++ b/sql/log.cc @@ -895,6 +895,9 @@ bool Log_to_csv_event_handler:: if (table->field[10]->store(sql_text, sql_text_len, client_cs) < 0) goto err; + if (table->field[11]->store((longlong) thd->thread_id, TRUE)) + goto err; + /* log table entries are not replicated */ if (table->file->ha_write_row(table->record[0])) goto err; |