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
f953016a
Commit
f953016a
authored
Mar 24, 2005
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed faulty merge
parent
66b31520
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
sql/sql_parse.cc
sql/sql_parse.cc
+0
-14
No files found.
sql/sql_parse.cc
View file @
f953016a
...
...
@@ -5403,20 +5403,6 @@ new_create_field(THD *thd, char *field_name, enum_field_types type,
case
FIELD_TYPE_LONG_BLOB
:
case
FIELD_TYPE_MEDIUM_BLOB
:
case
FIELD_TYPE_GEOMETRY
:
if
(
new_field
->
length
)
{
/* The user has given a length to the blob column */
if
(
new_field
->
length
<
256
)
type
=
FIELD_TYPE_TINY_BLOB
;
else
if
(
new_field
->
length
<
65536
)
type
=
FIELD_TYPE_BLOB
;
else
if
(
new_field
->
length
<
256L
*
256L
*
256L
)
type
=
FIELD_TYPE_MEDIUM_BLOB
;
else
type
=
FIELD_TYPE_LONG_BLOB
;
new_field
->
length
=
0
;
}
new_field
->
sql_type
=
type
;
if
(
default_value
)
// Allow empty as default value
{
String
str
,
*
res
;
...
...
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