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
d8839004
Commit
d8839004
authored
Jun 08, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/usr/home/ram/work/mysql-5.0-release
into mysql.com:/usr/home/ram/work/mysql-5.0
parents
41afcdb6
ceca5e26
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sql/item_subselect.cc
sql/item_subselect.cc
+1
-1
sql/sql_yacc.yy
sql/sql_yacc.yy
+1
-1
No files found.
sql/item_subselect.cc
View file @
d8839004
...
...
@@ -601,7 +601,7 @@ void Item_exists_subselect::fix_length_and_dec()
max_length
=
1
;
max_columns
=
engine
->
cols
();
/* We need only 1 row to determine existence */
unit
->
global_parameters
->
select_limit
=
new
Item_int
(
1
);
unit
->
global_parameters
->
select_limit
=
new
Item_int
(
(
int32
)
1
);
}
double
Item_exists_subselect
::
val_real
()
...
...
sql/sql_yacc.yy
View file @
d8839004
...
...
@@ -7985,7 +7985,7 @@ handler:
LEX *lex=Lex;
lex->sql_command = SQLCOM_HA_READ;
lex->ha_rkey_mode= HA_READ_KEY_EXACT; /* Avoid purify warnings */
lex->current_select->select_limit= new Item_int(1);
lex->current_select->select_limit= new Item_int(
(int32)
1);
lex->current_select->offset_limit= 0;
if (!lex->current_select->add_table_to_list(lex->thd, $2, 0, 0))
YYABORT;
...
...
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