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
79909808
Commit
79909808
authored
May 17, 2005
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After merge fix
parent
be4920cd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
sql/sql_base.cc
sql/sql_base.cc
+1
-1
sql/sql_update.cc
sql/sql_update.cc
+1
-0
sql/sql_yacc.yy
sql/sql_yacc.yy
+1
-0
No files found.
sql/sql_base.cc
View file @
79909808
...
@@ -3307,7 +3307,7 @@ bool get_key_map_from_key_list(key_map *map, TABLE *table,
...
@@ -3307,7 +3307,7 @@ bool get_key_map_from_key_list(key_map *map, TABLE *table,
0
)
0
)
{
{
my_error
(
ER_KEY_COLUMN_DOES_NOT_EXITS
,
MYF
(
0
),
name
->
c_ptr
(),
my_error
(
ER_KEY_COLUMN_DOES_NOT_EXITS
,
MYF
(
0
),
name
->
c_ptr
(),
table
->
real
_name
);
table
->
s
->
table
_name
);
map
->
set_all
();
map
->
set_all
();
return
1
;
return
1
;
}
}
...
...
sql/sql_update.cc
View file @
79909808
...
@@ -1099,6 +1099,7 @@ static bool safe_update_on_fly(JOIN_TAB *join_tab, List<Item> *fields)
...
@@ -1099,6 +1099,7 @@ static bool safe_update_on_fly(JOIN_TAB *join_tab, List<Item> *fields)
case
JT_EQ_REF
:
case
JT_EQ_REF
:
return
TRUE
;
// At most one matching row
return
TRUE
;
// At most one matching row
case
JT_REF
:
case
JT_REF
:
case
JT_REF_OR_NULL
:
return
!
check_if_key_used
(
table
,
join_tab
->
ref
.
key
,
*
fields
);
return
!
check_if_key_used
(
table
,
join_tab
->
ref
.
key
,
*
fields
);
case
JT_ALL
:
case
JT_ALL
:
/* If range search on index */
/* If range search on index */
...
...
sql/sql_yacc.yy
View file @
79909808
...
@@ -3994,6 +3994,7 @@ select_options:
...
@@ -3994,6 +3994,7 @@ select_options:
YYABORT;
YYABORT;
}
}
}
}
;
select_option_list:
select_option_list:
select_option_list select_option
select_option_list select_option
...
...
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