diff options
author | unknown <aelkin/elkin@dsl-hkibras-fe30f900-107.dhcp.inet.fi> | 2006-11-13 13:20:35 +0200 |
---|---|---|
committer | unknown <aelkin/elkin@dsl-hkibras-fe30f900-107.dhcp.inet.fi> | 2006-11-13 13:20:35 +0200 |
commit | 421f4c090739cc993ce336048df7c0284896e886 (patch) | |
tree | 47a97f5ae2a4f7eb413a5f73242f33cea184a440 /sql/handler.cc | |
parent | 9b50b662197d81972b66d4c3bcf8eb67808798cf (diff) | |
download | mariadb-git-421f4c090739cc993ce336048df7c0284896e886.tar.gz |
WL#3368 mixed binlog_format default
An amendment for parsing argument in case NDB is compiled and active.
NDB switches from mixed to row-based and back per each query. The previous patch
was not aware of such behaviour and made exceptional assingment to row-based when
no command line arg --binlog-format provided.
Removing #if HAVE_NDB_BINLOG block alltogether: ndb supports mixed and if server
was build without NDB using binlog nothing to care.
Test for this piece of code is rather specific. While there is active bug23110
ndb_alter_table and some other should fail if no explict --binlog-format is given:
mysql-test-run ndb_alter_table
sql/mysqld.cc:
ndb accepts mixed binlog_format switching to row internally via calling
thd->set_binlog_format_row_if_mixed at the beginning and careful
the->reset_current_stmt_binlog_row_based(). There is
bug#23110 to implement it all carefully for DDL.
Diffstat (limited to 'sql/handler.cc')
0 files changed, 0 insertions, 0 deletions