Skip to content

Commit 14855b9

Browse files
committed
Fix msec is not passed
1 parent ab58bc3 commit 14855b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysql2/result.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ static VALUE rb_mysql_result_fetch_row(VALUE self, ID db_timezone, ID app_timezo
297297
break;
298298
}
299299
msec = msec_char_to_uint(msec_char, sizeof(msec_char));
300-
val = rb_funcall(rb_cTime, db_timezone, 6, opt_time_year, opt_time_month, opt_time_month, UINT2NUM(hour), UINT2NUM(min), UINT2NUM(sec), UINT2NUM(msec));
300+
val = rb_funcall(rb_cTime, db_timezone, 7, opt_time_year, opt_time_month, opt_time_month, UINT2NUM(hour), UINT2NUM(min), UINT2NUM(sec), UINT2NUM(msec));
301301
if (!NIL_P(app_timezone)) {
302302
if (app_timezone == intern_local) {
303303
val = rb_funcall(val, intern_localtime, 0);

0 commit comments

Comments
 (0)