Skip to content

Commit 9229790

Browse files
committed
Bug#29802634 USE DBUG_TRACE IN NDBCLUSTER PLUGIN CODE
Change ndbcluster plugin code to use DBUG_TRACE and remove redundant return at end of functions. Change-Id: I21e6cae2220155cd3867289ebda437af0a7c4f75
1 parent 771d408 commit 9229790

35 files changed

+2148
-2272
lines changed

storage/ndb/plugin/ha_ndb_ddl_fk.cc

Lines changed: 119 additions & 122 deletions
Large diffs are not rendered by default.

storage/ndb/plugin/ha_ndb_index_stat.cc

Lines changed: 71 additions & 84 deletions
Large diffs are not rendered by default.

storage/ndb/plugin/ha_ndbcluster.cc

Lines changed: 944 additions & 990 deletions
Large diffs are not rendered by default.

storage/ndb/plugin/ha_ndbcluster.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,12 +271,12 @@ class ha_ndbcluster : public handler, public Partition_handler {
271271
dd::Table *dd_table) override;
272272

273273
row_type get_real_row_type(const HA_CREATE_INFO *create_info) const override {
274-
DBUG_ENTER("ha_ndbcluster::get_real_row_type");
274+
DBUG_TRACE;
275275
// ROW_RORMAT=FIXED -> using FIXED
276-
if (create_info->row_type == ROW_TYPE_FIXED) DBUG_RETURN(ROW_TYPE_FIXED);
276+
if (create_info->row_type == ROW_TYPE_FIXED) return ROW_TYPE_FIXED;
277277

278278
// All other values uses DYNAMIC
279-
DBUG_RETURN(ROW_TYPE_DYNAMIC);
279+
return ROW_TYPE_DYNAMIC;
280280
}
281281
int create(const char *name, TABLE *form, HA_CREATE_INFO *info,
282282
dd::Table *table_def) override;

0 commit comments

Comments
 (0)