Commit 14cb59d8 authored by unknown's avatar unknown

Added initializations to avoid compiler warnings.

parent f3b78f34
......@@ -4035,8 +4035,8 @@ err:
*/
if (error_if_not_empty && thd->row_count)
{
const char *f_val;
enum enum_mysql_timestamp_type t_type;
const char *f_val= 0;
enum enum_mysql_timestamp_type t_type= MYSQL_TIMESTAMP_DATE;
switch (new_datetime_field->sql_type)
{
case MYSQL_TYPE_DATE:
......
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