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
4f1e4973
Commit
4f1e4973
authored
Mar 24, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed faulty merge
sql/sql_parse.cc: The strange merge occured because this code shouldn't be there
parent
d0b3cb68
Changes
1
Hide 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 @
4f1e4973
...
@@ -5403,20 +5403,6 @@ new_create_field(THD *thd, char *field_name, enum_field_types type,
...
@@ -5403,20 +5403,6 @@ new_create_field(THD *thd, char *field_name, enum_field_types type,
case
FIELD_TYPE_LONG_BLOB
:
case
FIELD_TYPE_LONG_BLOB
:
case
FIELD_TYPE_MEDIUM_BLOB
:
case
FIELD_TYPE_MEDIUM_BLOB
:
case
FIELD_TYPE_GEOMETRY
:
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
if
(
default_value
)
// Allow empty as default value
{
{
String
str
,
*
res
;
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