Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
da36c03a
Commit
da36c03a
authored
Aug 17, 2004
by
dlenev@brandersnatch.localdomain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portablity fix.
hpux11 compiler dislikes empty array initializers.
parent
d966189d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
sql/item_timefunc.cc
sql/item_timefunc.cc
+8
-3
No files found.
sql/item_timefunc.cc
View file @
da36c03a
...
...
@@ -113,10 +113,15 @@ static bool make_datetime(date_time_format_types format, TIME *ltime,
}
/* Date formats corresponding to compound %r and %T conversion specifiers */
static
DATE_TIME_FORMAT
time_ampm_format
=
{{},
'\0'
,
0
,
/*
Date formats corresponding to compound %r and %T conversion specifiers
Note: We should init at least first element of "positions" array
(first member) or hpux11 compiler will die horribly.
*/
static
DATE_TIME_FORMAT
time_ampm_format
=
{{
0
},
'\0'
,
0
,
{(
char
*
)
"%I:%i:%S %p"
,
11
}};
static
DATE_TIME_FORMAT
time_24hrs_format
=
{{},
'\0'
,
0
,
static
DATE_TIME_FORMAT
time_24hrs_format
=
{{
0
},
'\0'
,
0
,
{(
char
*
)
"%H:%i:%S"
,
8
}};
/*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment