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
ac2d6935
Commit
ac2d6935
authored
Apr 10, 2008
by
cmiller@zippy.cornsilk.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix merge problem.
parent
2f7bdf84
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sql/item_create.cc
sql/item_create.cc
+1
-1
No files found.
sql/item_create.cc
View file @
ac2d6935
...
...
@@ -5125,7 +5125,7 @@ create_func_cast(THD *thd, Item *a, Cast_target cast_type,
ulong
decoded_size
;
errno
=
0
;
decoded_size
=
strtoul
(
c_len
,
NULL
,
10
);
if
(
errno
!=
0
)
if
(
(
errno
!=
0
)
||
(
decoded_size
>
MAX_FIELD_BLOBLENGTH
)
)
{
my_error
(
ER_TOO_BIG_DISPLAYWIDTH
,
MYF
(
0
),
"cast as char"
,
MAX_FIELD_BLOBLENGTH
);
return
NULL
;
...
...
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