MCPcopy Create free account
hub / github.com/arkdb/inception / my_decimal_from_datetime_packed

Function my_decimal_from_datetime_packed

sql/sql_time.cc:1702–1725  ·  view source on GitHub ↗

Unpack packed numeric temporal value to date/time value and then convert to decimal representation. @param OUT dec The variable to write to. @param type MySQL field type. @param packed_value Packed numeric temporal representation. @return A decimal value in on of the following formats, depending on type: YYYYMMDD, hhmmss.ffffff or YYMMDDhhmm

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

val_decimalMethod · 0.85
val_decimalMethod · 0.85

Calls 7

time2my_decimalFunction · 0.85
ulonglong2decimalFunction · 0.85
TIME_to_ulonglong_dateFunction · 0.85
date2my_decimalFunction · 0.85

Tested by

no test coverage detected