mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Added initializations to avoid compiler warnings.
This commit is contained in:
parent
f3b78f34e5
commit
14cb59d8bb
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue