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
629aa807
Commit
629aa807
authored
Mar 02, 2007
by
evgen@sunlight.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql_base.cc:
Post fix for bug#25122.
parent
44f97f3f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
sql/sql_base.cc
sql/sql_base.cc
+2
-1
No files found.
sql/sql_base.cc
View file @
629aa807
...
...
@@ -865,7 +865,8 @@ TABLE_LIST* unique_table(THD *thd, TABLE_LIST *table, TABLE_LIST *table_list,
(
!
(
res
=
mysql_lock_have_duplicate
(
thd
,
table
,
table_list
))))
||
((
!
res
->
table
||
res
->
table
!=
table
->
table
)
&&
(
!
check_alias
||
!
(
lower_case_table_names
?
strcasecmp
(
t_alias
,
res
->
alias
)
:
strcmp
(
t_alias
,
res
->
alias
)))
&&
my_strcasecmp
(
files_charset_info
,
t_alias
,
res
->
alias
)
:
strcmp
(
t_alias
,
res
->
alias
)))
&&
res
->
select_lex
&&
!
res
->
select_lex
->
exclude_from_table_unique_test
&&
!
res
->
prelocking_placeholder
))
break
;
...
...
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