Skip to content

Commit 5a76f2d

Browse files
committed
Merge from mysql-5.6 to mysql-trunk
2 parents 2812bc9 + bc7320d commit 5a76f2d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sql/auth/sql_user_table.cc

+3-3
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ update_user_table(THD *thd, TABLE *table,
368368
}
369369

370370
table->use_all_columns();
371-
DBUG_ASSERT(host != '\0');
371+
DBUG_ASSERT(host != NULL);
372372
table->field[MYSQL_USER_FIELD_HOST]->store(host, strlen(host),
373373
system_charset_info);
374374
table->field[MYSQL_USER_FIELD_USER]->store(user, strlen(user),
@@ -485,7 +485,7 @@ int replace_user_table(THD *thd, TABLE *table, LEX_USER *combo,
485485
}
486486

487487
table->use_all_columns();
488-
DBUG_ASSERT(combo->host.str != '\0');
488+
DBUG_ASSERT(combo->host.str != NULL);
489489
table->field[MYSQL_USER_FIELD_HOST]->store(combo->host.str,combo->host.length,
490490
system_charset_info);
491491
table->field[MYSQL_USER_FIELD_USER]->store(combo->user.str,combo->user.length,
@@ -576,7 +576,7 @@ int replace_user_table(THD *thd, TABLE *table, LEX_USER *combo,
576576

577577
old_row_exists = 0;
578578
restore_record(table,s->default_values);
579-
DBUG_ASSERT(combo->host.str != '\0');
579+
DBUG_ASSERT(combo->host.str != NULL);
580580
table->field[MYSQL_USER_FIELD_HOST]->store(combo->host.str,combo->host.length,
581581
system_charset_info);
582582
table->field[MYSQL_USER_FIELD_USER]->store(combo->user.str,combo->user.length,

storage/innobase/row/row0vers.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ row_vers_impl_x_locked_low(
251251
}
252252
}
253253

254-
DBUG_PRINT("info", ("Implicit lock is held by trx:"TRX_ID_FMT, trx_id));
254+
DBUG_PRINT("info", ("Implicit lock is held by trx:" TRX_ID_FMT, trx_id));
255255

256256
mem_heap_free(heap);
257257
DBUG_RETURN(trx);

0 commit comments

Comments
 (0)