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
04f3ecf6
Commit
04f3ecf6
authored
Nov 08, 2011
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typos fixed
(thanks viva64.com)
parent
28e27779
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
sql-common/my_time.c
sql-common/my_time.c
+1
-1
sql/records.cc
sql/records.cc
+1
-1
storage/xtradb/handler/ha_innodb.cc
storage/xtradb/handler/ha_innodb.cc
+1
-1
No files found.
sql-common/my_time.c
View file @
04f3ecf6
...
@@ -337,7 +337,7 @@ str_to_datetime(const char *str, uint length, MYSQL_TIME *l_time,
...
@@ -337,7 +337,7 @@ str_to_datetime(const char *str, uint length, MYSQL_TIME *l_time,
{
{
if
(
str
[
0
]
==
'p'
||
str
[
0
]
==
'P'
)
if
(
str
[
0
]
==
'p'
||
str
[
0
]
==
'P'
)
add_hours
=
12
;
add_hours
=
12
;
else
if
(
str
[
0
]
!=
'a'
||
str
[
0
]
!=
'A'
)
else
if
(
str
[
0
]
!=
'a'
&&
str
[
0
]
!=
'A'
)
continue
;
/* Not AM/PM */
continue
;
/* Not AM/PM */
str
+=
2
;
/* Skip AM/PM */
str
+=
2
;
/* Skip AM/PM */
/* Skip space after AM/PM */
/* Skip space after AM/PM */
...
...
sql/records.cc
View file @
04f3ecf6
...
@@ -621,7 +621,7 @@ static int rr_cmp(uchar *a,uchar *b)
...
@@ -621,7 +621,7 @@ static int rr_cmp(uchar *a,uchar *b)
if
(
a
[
4
]
!=
b
[
4
])
if
(
a
[
4
]
!=
b
[
4
])
return
(
int
)
a
[
4
]
-
(
int
)
b
[
4
];
return
(
int
)
a
[
4
]
-
(
int
)
b
[
4
];
if
(
a
[
5
]
!=
b
[
5
])
if
(
a
[
5
]
!=
b
[
5
])
return
(
int
)
a
[
1
]
-
(
int
)
b
[
5
];
return
(
int
)
a
[
5
]
-
(
int
)
b
[
5
];
if
(
a
[
6
]
!=
b
[
6
])
if
(
a
[
6
]
!=
b
[
6
])
return
(
int
)
a
[
6
]
-
(
int
)
b
[
6
];
return
(
int
)
a
[
6
]
-
(
int
)
b
[
6
];
return
(
int
)
a
[
7
]
-
(
int
)
b
[
7
];
return
(
int
)
a
[
7
]
-
(
int
)
b
[
7
];
...
...
storage/xtradb/handler/ha_innodb.cc
View file @
04f3ecf6
...
@@ -6961,7 +6961,7 @@ ha_innobase::create(
...
@@ -6961,7 +6961,7 @@ ha_innobase::create(
if
(
srv_file_per_table
if
(
srv_file_per_table
&&
!
mysqld_embedded
&&
!
mysqld_embedded
&&
(
!
create_info
->
options
&
HA_LEX_CREATE_TMP_TABLE
))
{
&&
!
(
create_info
->
options
&
HA_LEX_CREATE_TMP_TABLE
))
{
if
((
name
[
1
]
==
':'
)
if
((
name
[
1
]
==
':'
)
||
(
name
[
0
]
==
'\\'
&&
name
[
1
]
==
'\\'
))
{
||
(
name
[
0
]
==
'\\'
&&
name
[
1
]
==
'\\'
))
{
...
...
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