MySQL 8.4.3
Source Code Documentation
|
Structure to return status from str_to_datetime(), str_to_time(), number_to_datetime(), number_to_time() More...
#include <my_time.h>
Classes | |
struct | DEPRECATION |
Public Member Functions | |
void | set_deprecation (DEPRECATION::DEPR_KIND kind, const char *arg, const char *end, const char *delim, bool colon=false) |
MYSQL_TIME_STATUS ()=default | |
MYSQL_TIME_STATUS (const MYSQL_TIME_STATUS &)=default | |
MYSQL_TIME_STATUS & | operator= (const MYSQL_TIME_STATUS &b) |
Assignment: don't clobber an existing deprecation, first one wins. More... | |
void | squelch_deprecation () |
Public Attributes | |
int | warnings {0} |
unsigned int | fractional_digits {0} |
unsigned int | nanoseconds {0} |
struct MYSQL_TIME_STATUS::DEPRECATION | m_deprecation |
Register wrong delimiter if it's the first we see for this value. More... | |
Structure to return status from str_to_datetime(), str_to_time(), number_to_datetime(), number_to_time()
|
default |
|
default |
|
inline |
Assignment: don't clobber an existing deprecation, first one wins.
|
inline |
|
inline |
unsigned int MYSQL_TIME_STATUS::fractional_digits {0} |
struct MYSQL_TIME_STATUS::DEPRECATION MYSQL_TIME_STATUS::m_deprecation |
Register wrong delimiter if it's the first we see for this value.
kind | what kind of deprecation did we see |
arg | the string we try to interpret as a datetime value |
end | points to the character after arg, usually a '\0' |
delim | what delimiter was used |
colon | used if kind==DP_WRONG_KIND. true: expect ':' else expect'-' |
unsigned int MYSQL_TIME_STATUS::nanoseconds {0} |
int MYSQL_TIME_STATUS::warnings {0} |