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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
79cd2f5e
Commit
79cd2f5e
authored
Jun 27, 2019
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added type conversion to fix compilation error on windows
parent
e133aa1e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/sql_type.h
sql/sql_type.h
+2
-2
No files found.
sql/sql_type.h
View file @
79cd2f5e
...
@@ -171,7 +171,7 @@ template<uint sz>
...
@@ -171,7 +171,7 @@ template<uint sz>
class
TypelibBuffer
:
public
Typelib
class
TypelibBuffer
:
public
Typelib
{
{
const
char
*
m_type_names
[
sz
+
1
];
const
char
*
m_type_names
[
sz
+
1
];
u
nsigned
int
m_type_lengths
[
sz
+
1
];
uint
m_type_lengths
[
sz
+
1
];
public:
public:
TypelibBuffer
(
uint
count
,
const
LEX_CSTRING
*
values
)
TypelibBuffer
(
uint
count
,
const
LEX_CSTRING
*
values
)
:
Typelib
(
count
,
m_type_names
,
m_type_lengths
)
:
Typelib
(
count
,
m_type_names
,
m_type_lengths
)
...
@@ -181,7 +181,7 @@ class TypelibBuffer: public Typelib
...
@@ -181,7 +181,7 @@ class TypelibBuffer: public Typelib
{
{
DBUG_ASSERT
(
values
[
i
].
str
!=
NULL
);
DBUG_ASSERT
(
values
[
i
].
str
!=
NULL
);
m_type_names
[
i
]
=
values
[
i
].
str
;
m_type_names
[
i
]
=
values
[
i
].
str
;
m_type_lengths
[
i
]
=
values
[
i
].
length
;
m_type_lengths
[
i
]
=
(
uint
)
values
[
i
].
length
;
}
}
m_type_names
[
sz
]
=
NullS
;
// End marker
m_type_names
[
sz
]
=
NullS
;
// End marker
m_type_lengths
[
sz
]
=
0
;
// End marker
m_type_lengths
[
sz
]
=
0
;
// End marker
...
...
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