mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
cleanup
* use sql_mode_for_dates() where appropriate. * always specify an argument for sql_mode_for_dates() (future-proof. easier to notice and fix if the caller will start using thd from a local variable or an argument)
This commit is contained in:
@ -20,8 +20,8 @@
|
||||
#include "sql_priv.h"
|
||||
#include "unireg.h" // REQUIRED by other includes
|
||||
#include "sql_time.h"
|
||||
#include "tztime.h" // struct Time_zone
|
||||
#include "sql_class.h" // THD, MODE_INVALID_DATES, MODE_NO_ZERO_DATE
|
||||
#include "tztime.h" // struct Time_zone
|
||||
#include "sql_class.h" // THD
|
||||
#include <m_ctype.h>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user