1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00
* 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:
Sergei Golubchik
2013-08-12 22:05:23 +02:00
parent 847e0f152b
commit a91a23858d
9 changed files with 22 additions and 59 deletions

View File

@ -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>