You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-392 Apply astyle
Make this branch apply our style guidelines
This commit is contained in:
@ -842,6 +842,7 @@ int ha_calpont_impl_write_batch_row_(uchar* buf, TABLE* table, cal_impl_if::cal_
|
||||
const uchar* pos = buf;
|
||||
longlong tmp = my_datetime_packed_from_binary(pos, table->field[colpos]->decimals());
|
||||
TIME_from_longlong_datetime_packed(<ime, tmp);
|
||||
|
||||
if (!ltime.second_part)
|
||||
{
|
||||
fprintf(ci.filePtr, "%04d-%02d-%02d %02d:%02d:%02d%c",
|
||||
@ -855,6 +856,7 @@ int ha_calpont_impl_write_batch_row_(uchar* buf, TABLE* table, cal_impl_if::cal_
|
||||
ltime.hour, ltime.minute, ltime.second,
|
||||
ltime.second_part, ci.delimiter);
|
||||
}
|
||||
|
||||
buf += table->field[colpos]->pack_length();
|
||||
}
|
||||
else
|
||||
@ -892,6 +894,7 @@ int ha_calpont_impl_write_batch_row_(uchar* buf, TABLE* table, cal_impl_if::cal_
|
||||
const uchar* pos = buf;
|
||||
longlong tmp = my_time_packed_from_binary(pos, table->field[colpos]->decimals());
|
||||
TIME_from_longlong_time_packed(<ime, tmp);
|
||||
|
||||
if (!ltime.second_part)
|
||||
{
|
||||
fprintf(ci.filePtr, "%02d:%02d:%02d%c",
|
||||
@ -903,6 +906,7 @@ int ha_calpont_impl_write_batch_row_(uchar* buf, TABLE* table, cal_impl_if::cal_
|
||||
ltime.hour, ltime.minute, ltime.second,
|
||||
ltime.second_part, ci.delimiter);
|
||||
}
|
||||
|
||||
buf += table->field[colpos]->pack_length();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user