Commit e9b3cc0d authored by marko's avatar marko

Add dummy return statements to the #ifdef UNIV_HOTBACKUP branches of some

functions that are excluded from InnoDB Hot Backup builds.
parent 6d7aec8d
...@@ -2151,6 +2151,7 @@ dict_foreign_find_index( ...@@ -2151,6 +2151,7 @@ dict_foreign_find_index(
InnoDB Hot Backup builds. Besides, this function should never InnoDB Hot Backup builds. Besides, this function should never
be called in InnoDB Hot Backup. */ be called in InnoDB Hot Backup. */
ut_error; ut_error;
return(NULL);
#endif /* UNIV_HOTBACKUP */ #endif /* UNIV_HOTBACKUP */
} }
...@@ -2548,6 +2549,7 @@ dict_scan_col( ...@@ -2548,6 +2549,7 @@ dict_scan_col(
InnoDB Hot Backup builds. Besides, this function should never InnoDB Hot Backup builds. Besides, this function should never
be called in InnoDB Hot Backup. */ be called in InnoDB Hot Backup. */
ut_error; ut_error;
return(NULL);
#endif /* UNIV_HOTBACKUP */ #endif /* UNIV_HOTBACKUP */
} }
...@@ -2653,6 +2655,7 @@ dict_scan_table_name( ...@@ -2653,6 +2655,7 @@ dict_scan_table_name(
InnoDB Hot Backup builds. Besides, this function should never InnoDB Hot Backup builds. Besides, this function should never
be called in InnoDB Hot Backup. */ be called in InnoDB Hot Backup. */
ut_error; ut_error;
return(NULL);
#endif /* UNIV_HOTBACKUP */ #endif /* UNIV_HOTBACKUP */
} }
......
...@@ -1751,6 +1751,7 @@ next_rec: ...@@ -1751,6 +1751,7 @@ next_rec:
InnoDB Hot Backup builds. Besides, this function should never InnoDB Hot Backup builds. Besides, this function should never
be called in InnoDB Hot Backup. */ be called in InnoDB Hot Backup. */
ut_error; ut_error;
return(DB_FAIL);
#endif /* UNIV_HOTBACKUP */ #endif /* UNIV_HOTBACKUP */
} }
...@@ -1894,6 +1895,7 @@ func_exit: ...@@ -1894,6 +1895,7 @@ func_exit:
InnoDB Hot Backup builds. Besides, this function should never InnoDB Hot Backup builds. Besides, this function should never
be called in InnoDB Hot Backup. */ be called in InnoDB Hot Backup. */
ut_error; ut_error;
return(DB_FAIL);
#endif /* UNIV_HOTBACKUP */ #endif /* UNIV_HOTBACKUP */
} }
......
...@@ -571,6 +571,7 @@ handle_new_error: ...@@ -571,6 +571,7 @@ handle_new_error:
InnoDB Hot Backup builds. Besides, this function should never InnoDB Hot Backup builds. Besides, this function should never
be called in InnoDB Hot Backup. */ be called in InnoDB Hot Backup. */
ut_error; ut_error;
return(FALSE);
#endif /* UNIV_HOTBACKUP */ #endif /* UNIV_HOTBACKUP */
} }
......
...@@ -109,6 +109,7 @@ trx_general_rollback_for_mysql( ...@@ -109,6 +109,7 @@ trx_general_rollback_for_mysql(
InnoDB Hot Backup builds. Besides, this function should never InnoDB Hot Backup builds. Besides, this function should never
be called in InnoDB Hot Backup. */ be called in InnoDB Hot Backup. */
ut_error; ut_error;
return(DB_FAIL);
#endif /* UNIV_HOTBACKUP */ #endif /* UNIV_HOTBACKUP */
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment