Commit b50d17a9 authored by igor@olga.mysql.com's avatar igor@olga.mysql.com

Added initializations to avoid compiler warnings.

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