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
7aad55d9
Commit
7aad55d9
authored
Dec 17, 2003
by
vva@eagle.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed small error in types in sql/field.cc
(char * -> const char*)
parent
500192ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sql/field.cc
sql/field.cc
+1
-1
No files found.
sql/field.cc
View file @
7aad55d9
...
@@ -4721,7 +4721,7 @@ String *Field_enum::val_str(String *val_buffer __attribute__((unused)),
...
@@ -4721,7 +4721,7 @@ String *Field_enum::val_str(String *val_buffer __attribute__((unused)),
{
{
uint
tmp
=
(
uint
)
Field_enum
::
val_int
();
uint
tmp
=
(
uint
)
Field_enum
::
val_int
();
if
(
!
tmp
||
tmp
>
typelib
->
count
)
if
(
!
tmp
||
tmp
>
typelib
->
count
)
val_ptr
->
set
((
char
*
)
""
,
0
);
val_ptr
->
set
((
c
onst
c
har
*
)
""
,
0
);
else
else
val_ptr
->
set
((
const
char
*
)
typelib
->
type_names
[
tmp
-
1
],
val_ptr
->
set
((
const
char
*
)
typelib
->
type_names
[
tmp
-
1
],
(
uint
)
strlen
(
typelib
->
type_names
[
tmp
-
1
]));
(
uint
)
strlen
(
typelib
->
type_names
[
tmp
-
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