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
f2fd3c27
Commit
f2fd3c27
authored
Feb 24, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After-merge fixes (Bug#13134)
parent
e0b4e228
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
sql/field.cc
sql/field.cc
+3
-1
sql/sql_parse.cc
sql/sql_parse.cc
+0
-1
No files found.
sql/field.cc
View file @
f2fd3c27
...
@@ -8269,7 +8269,7 @@ void create_field::init_for_tmp_table(enum_field_types sql_type_arg,
...
@@ -8269,7 +8269,7 @@ void create_field::init_for_tmp_table(enum_field_types sql_type_arg,
{
{
field_name
=
""
;
field_name
=
""
;
sql_type
=
sql_type_arg
;
sql_type
=
sql_type_arg
;
length
=
length_arg
;;
char_length
=
length
=
length_arg
;;
unireg_check
=
Field
::
NONE
;
unireg_check
=
Field
::
NONE
;
interval
=
0
;
interval
=
0
;
charset
=
&
my_charset_bin
;
charset
=
&
my_charset_bin
;
...
@@ -8597,6 +8597,8 @@ bool create_field::init(THD *thd, char *fld_name, enum_field_types fld_type,
...
@@ -8597,6 +8597,8 @@ bool create_field::init(THD *thd, char *fld_name, enum_field_types fld_type,
case
FIELD_TYPE_DECIMAL
:
case
FIELD_TYPE_DECIMAL
:
DBUG_ASSERT
(
0
);
/* Was obsolete */
DBUG_ASSERT
(
0
);
/* Was obsolete */
}
}
/* Remember the value of length */
char_length
=
length
;
if
(
!
(
flags
&
BLOB_FLAG
)
&&
if
(
!
(
flags
&
BLOB_FLAG
)
&&
((
length
>
max_field_charlength
&&
fld_type
!=
FIELD_TYPE_SET
&&
((
length
>
max_field_charlength
&&
fld_type
!=
FIELD_TYPE_SET
&&
...
...
sql/sql_parse.cc
View file @
f2fd3c27
...
@@ -5791,7 +5791,6 @@ bool add_field_to_list(THD *thd, char *field_name, enum_field_types type,
...
@@ -5791,7 +5791,6 @@ bool add_field_to_list(THD *thd, char *field_name, enum_field_types type,
interval_list
,
cs
,
uint_geom_type
))
interval_list
,
cs
,
uint_geom_type
))
DBUG_RETURN
(
1
);
DBUG_RETURN
(
1
);
new_field
->
char_length
=
new_field
->
length
;
lex
->
create_list
.
push_back
(
new_field
);
lex
->
create_list
.
push_back
(
new_field
);
lex
->
last_field
=
new_field
;
lex
->
last_field
=
new_field
;
DBUG_RETURN
(
0
);
DBUG_RETURN
(
0
);
...
...
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