mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
Fix of compiler errors.
storage/maria/ma_loghandler.c: Awoiding signed and unsigned comporison. storage/maria/ma_loghandler.h: debug function. storage/maria/unittest/ma_loghandler_examples.c: debug function.
This commit is contained in:
parent
ae0b6f6db9
commit
157a945318
3 changed files with 5 additions and 1 deletions
|
|
@ -458,7 +458,7 @@ void translog_lock_handler_assert_owner()
|
|||
@param num how many records should be filled
|
||||
*/
|
||||
|
||||
static max_allowed_translog_type= 0;
|
||||
static uint max_allowed_translog_type= 0;
|
||||
|
||||
void check_translog_description_table(int num)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -312,7 +312,9 @@ extern my_bool translog_init_with_table(const char *directory,
|
|||
my_bool readonly,
|
||||
void (*init_table_func)(),
|
||||
my_bool no_error);
|
||||
#ifndef DBUG_OFF
|
||||
void check_translog_description_table(int num);
|
||||
#endif
|
||||
|
||||
extern my_bool
|
||||
translog_write_record(LSN *lsn, enum translog_record_type type, TRN *trn,
|
||||
|
|
|
|||
|
|
@ -59,7 +59,9 @@ void translog_example_table_init()
|
|||
i < LOGREC_NUMBER_OF_TYPES;
|
||||
i++)
|
||||
log_record_type_descriptor[i].rclass= LOGRECTYPE_NOT_ALLOWED;
|
||||
#ifndef DBUG_OFF
|
||||
check_translog_description_table(LOGREC_VARIABLE_RECORD_2LSN_EXAMPLE);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue