summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorMattias Jonsson <mattias.jonsson@oracle.com>2012-12-01 09:17:56 +0100
committerMattias Jonsson <mattias.jonsson@oracle.com>2012-12-01 09:17:56 +0100
commit4148bec15135b7ccd47e1a078f62388530827884 (patch)
tree97ab5323819e007db3ae05df4c5351bb74c13c56 /sql
parent63b0cbe39695b7dfc6e9ce169225543dda0c1d7d (diff)
parentb6249e510b3828399b961e119e459a7f1097902f (diff)
downloadmariadb-git-4148bec15135b7ccd47e1a078f62388530827884.tar.gz
merge mysql-5.1 -> mysql-5.5
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_table.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index 682d6f208f8..043906800da 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -857,6 +857,7 @@ static void set_ddl_log_entry_from_buf(uint read_entry,
{
uint inx;
uchar single_char;
+ DBUG_ENTER("set_ddl_log_entry_from_buf");
ddl_log_entry->entry_pos= read_entry;
single_char= file_entry_buf[DDL_LOG_ENTRY_TYPE_POS];
ddl_log_entry->entry_type= (enum ddl_log_entry_code)single_char;
@@ -869,6 +870,7 @@ static void set_ddl_log_entry_from_buf(uint read_entry,
ddl_log_entry->from_name= (char*) &file_entry_buf[inx];
inx+= global_ddl_log.name_len;
ddl_log_entry->handler_name= (char*) &file_entry_buf[inx];
+ DBUG_VOID_RETURN;
}
@@ -1431,7 +1433,7 @@ bool execute_ddl_log_entry(THD *thd, uint first_entry)
{
if (read_ddl_log_file_entry(file_entry_buf, read_entry, IO_SIZE))
{
- /* Write to error log and continue with next log entry */
+ /* Print the error to the log and continue with next log entry */
sql_print_error("Failed to read entry = %u from ddl log",
read_entry);
break;
@@ -1442,7 +1444,7 @@ bool execute_ddl_log_entry(THD *thd, uint first_entry)
if (execute_ddl_log_action(thd, &ddl_log_entry))
{
- /* Write to error log and continue with next log entry */
+ /* Print the error to the log and continue with next log entry */
sql_print_error("Failed to execute action for entry = %u from ddl log",
read_entry);
break;