time functions return invalid pointer (exit with segment fault)

Bug #550251 reported by Djellel E. Difallah
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Medium
Andrew Hutchings
7.0
Fix Released
Medium
Andrew Hutchings

Bug Description

Crash when time functions are presented with wrong values:
drizzle> SELECT hour('2566-11s-30 10:30:19');
ERROR 1686 (HY000): Received an invalid datetime value '2566-11s-30 10:30:19'.
drizzle> quit
Segmentation fault

Related branches

summary: - time function return invalide pointer
+ time functions return invalide pointer
summary: - time functions return invalide pointer
+ time functions return invalid pointer (exit with segment fault)
description: updated
Changed in drizzle:
assignee: nobody → ziminq (ziminq)
Lorenzo De Liso (blackz)
Changed in drizzle:
importance: Undecided → Medium
status: New → Triaged
Changed in drizzle:
status: Triaged → Fix Released
status: Fix Released → Triaged
Changed in drizzle:
assignee: ziminq (ziminq) → Andrew Hutchings (linuxjedi)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers