Commit f8c08505 authored by konstantin@mysql.com's avatar konstantin@mysql.com

Cleanup in libmysql.

parent 7c6a4ce7
This diff is collapsed.
...@@ -9862,11 +9862,17 @@ static void test_bug4026() ...@@ -9862,11 +9862,17 @@ static void test_bug4026()
time_in.minute= 59; time_in.minute= 59;
time_in.second= 59; time_in.second= 59;
time_in.second_part= 123456; time_in.second_part= 123456;
/*
This is not necessary, just to make assert below work: this field
is filled in when time is received from server
*/
time_in.time_type= MYSQL_TIMESTAMP_TIME;
datetime_in= time_in; datetime_in= time_in;
datetime_in.year= 2003; datetime_in.year= 2003;
datetime_in.month= 12; datetime_in.month= 12;
datetime_in.day= 31; datetime_in.day= 31;
datetime_in.time_type= MYSQL_TIMESTAMP_DATETIME;
mysql_stmt_bind_param(stmt, bind); mysql_stmt_bind_param(stmt, bind);
......
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