1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fixed some issues found by valgrind

(one testcase, one memory leak and some accesses to not initialized memory)
This commit is contained in:
monty@mysql.com
2006-06-06 02:47:30 +03:00
parent 430347f126
commit a703ff60c7
9 changed files with 36 additions and 13 deletions

View File

@ -4178,7 +4178,7 @@ copy_event_to_schema_table(THD *thd, TABLE *sch_table, TABLE *event_table)
DBUG_RETURN(1);
sch_table->field[7]->set_notnull();
sch_table->field[7]->store(show_str.c_ptr(), show_str.length(), scs);
sch_table->field[7]->store(show_str.ptr(), show_str.length(), scs);
LEX_STRING *ival= &interval_type_to_name[et.interval];
sch_table->field[8]->set_notnull();