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
4ce60f0f
Commit
4ce60f0f
authored
Jun 24, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-winfix
parents
dc525227
efc33218
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
sql/tztime.cc
sql/tztime.cc
+5
-4
No files found.
sql/tztime.cc
View file @
4ce60f0f
...
@@ -1725,7 +1725,7 @@ tz_load_from_db(THD *thd, const String *tz_name)
...
@@ -1725,7 +1725,7 @@ tz_load_from_db(THD *thd, const String *tz_name)
goto
end_with_unlock
;
goto
end_with_unlock
;
}
}
tzid
=
table
->
field
[
1
]
->
val_int
();
tzid
=
(
uint
)
table
->
field
[
1
]
->
val_int
();
table
->
file
->
index_end
();
table
->
file
->
index_end
();
...
@@ -1769,7 +1769,7 @@ tz_load_from_db(THD *thd, const String *tz_name)
...
@@ -1769,7 +1769,7 @@ tz_load_from_db(THD *thd, const String *tz_name)
4
,
HA_READ_KEY_EXACT
);
4
,
HA_READ_KEY_EXACT
);
while
(
!
res
)
while
(
!
res
)
{
{
ttid
=
table
->
field
[
1
]
->
val_int
();
ttid
=
(
uint
)
table
->
field
[
1
]
->
val_int
();
if
(
ttid
>
TZ_MAX_TYPES
)
if
(
ttid
>
TZ_MAX_TYPES
)
{
{
...
@@ -1779,7 +1779,7 @@ tz_load_from_db(THD *thd, const String *tz_name)
...
@@ -1779,7 +1779,7 @@ tz_load_from_db(THD *thd, const String *tz_name)
goto
end_with_unlock
;
goto
end_with_unlock
;
}
}
ttis
[
ttid
].
tt_gmtoff
=
table
->
field
[
2
]
->
val_int
();
ttis
[
ttid
].
tt_gmtoff
=
(
long
)
table
->
field
[
2
]
->
val_int
();
ttis
[
ttid
].
tt_isdst
=
(
table
->
field
[
3
]
->
val_int
()
>
0
);
ttis
[
ttid
].
tt_isdst
=
(
table
->
field
[
3
]
->
val_int
()
>
0
);
#ifdef ABBR_ARE_USED
#ifdef ABBR_ARE_USED
...
@@ -2115,7 +2115,8 @@ my_tz_find(THD *thd, const String * name)
...
@@ -2115,7 +2115,8 @@ my_tz_find(THD *thd, const String * name)
}
}
}
}
}
else
{
}
else
{
if
((
tmp_tzname
=
(
TZ_NAMES_ENTRY
*
)
hash_search
(
&
tz_names
,
name
->
ptr
(),
if
((
tmp_tzname
=
(
TZ_NAMES_ENTRY
*
)
hash_search
(
&
tz_names
,
(
const
byte
*
)
name
->
ptr
(),
name
->
length
())))
name
->
length
())))
result_tz
=
tmp_tzname
->
tz
;
result_tz
=
tmp_tzname
->
tz
;
else
else
...
...
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