?
Related to # 11530
avatar tonypartridge
tonypartridge
30 May 2017

In Joomla! We use 0000-00-00 00:00:00 as a default value for datetime to determine that's it's not set. This is actually invalid since it's an invalid date.

In MySQL 5.7, this causes MySQL issues since NO_ZERO is enabled by default. I would suggest we either use 1970-01-01 08:00 which is unix 0. Or we convert to NULL.

Thoughts?

avatar tonypartridge tonypartridge - open - 30 May 2017
avatar joomla-cms-bot joomla-cms-bot - change - 30 May 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 30 May 2017
avatar mbabker
mbabker - comment - 30 May 2017

There's a PR open somewhere.

On Tue, May 30, 2017 at 8:23 PM Tony Partridge notifications@github.com
wrote:

In Joomla! We use 0000-00-00 00:00:00 as a default value for datetime to
determine that's it's not set. This is actually invalid since it's an
invalid date.

In MySQL 5.7, this causes MySQL issues since NO_ZERO is enabled by
default. I would suggest we either use 1970-01-01 08:00 which is unix 0. Or
we convert to NULL.

Thoughts?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#16372, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWfoXY78UkmBwirpiL03MraEt5vN6Glks5r_F66gaJpZM4Nqqwr
.

--

  • Michael Please pardon any errors, this message was sent from my iPhone.
avatar tonypartridge
tonypartridge - comment - 30 May 2017

That's a good thought! ;) I'll do a few search types

avatar tonypartridge
tonypartridge - comment - 30 May 2017

Got it!

#11530

I'll try to look into it a bit more when I have some time

avatar franz-wohlkoenig franz-wohlkoenig - change - 30 May 2017
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 30 May 2017
Category Administration
avatar franz-wohlkoenig franz-wohlkoenig - change - 30 May 2017
Category Administration Administration Components Installation Libraries SQL
avatar Bakual Bakual - change - 30 May 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-05-30 18:34:09
Closed_By Bakual
avatar joomla-cms-bot joomla-cms-bot - change - 30 May 2017
Status Closed Discussion
avatar joomla-cms-bot joomla-cms-bot - reopen - 30 May 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 30 May 2017
Rel_Number 0 1530
Relation Type Related to
avatar Bakual
Bakual - comment - 30 May 2017

Closing as there is a PR.

avatar franz-wohlkoenig franz-wohlkoenig - change - 30 May 2017
Rel_Number 1530 11530
avatar tonypartridge tonypartridge - change - 30 May 2017
Status Discussion Closed
Closed_Date 2017-05-30 18:34:09 2017-05-30 18:35:11
Closed_By Bakual tonypartridge
avatar tonypartridge tonypartridge - close - 30 May 2017

Add a Comment

Login with GitHub to post a comment