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
4453a624
Commit
4453a624
authored
Jan 26, 2005
by
ram@gw.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after review fixup (bug #8129: help.test fails using --ps-protocol)
parent
f995a526
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
sql/sql_help.cc
sql/sql_help.cc
+4
-0
No files found.
sql/sql_help.cc
View file @
4453a624
...
@@ -558,6 +558,10 @@ SQL_SELECT *prepare_simple_select(THD *thd, Item *cond, TABLE_LIST *tables,
...
@@ -558,6 +558,10 @@ SQL_SELECT *prepare_simple_select(THD *thd, Item *cond, TABLE_LIST *tables,
{
{
if
(
!
cond
->
fixed
)
if
(
!
cond
->
fixed
)
cond
->
fix_fields
(
thd
,
tables
,
&
cond
);
// can never fail
cond
->
fix_fields
(
thd
,
tables
,
&
cond
);
// can never fail
/* Assume that no indexes cover all required fields */
table
->
used_keys
.
clear_all
();
SQL_SELECT
*
res
=
make_select
(
table
,
0
,
0
,
cond
,
error
);
SQL_SELECT
*
res
=
make_select
(
table
,
0
,
0
,
cond
,
error
);
if
(
*
error
||
(
res
&&
res
->
check_quick
(
thd
,
0
,
HA_POS_ERROR
))
||
if
(
*
error
||
(
res
&&
res
->
check_quick
(
thd
,
0
,
HA_POS_ERROR
))
||
(
res
->
quick
&&
res
->
quick
->
reset
()))
(
res
->
quick
&&
res
->
quick
->
reset
()))
...
...
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