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
878759b2
Commit
878759b2
authored
Feb 06, 2007
by
ramil/ram@mysql.com/ramil.myoffice.izhnet.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0-maint
into mysql.com:/home/ram/work/b23782/b23782.5.0
parents
a4bbd5bf
85f2f924
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
sql/sql_analyse.cc
sql/sql_analyse.cc
+10
-0
No files found.
sql/sql_analyse.cc
View file @
878759b2
...
...
@@ -86,6 +86,11 @@ proc_analyse_init(THD *thd, ORDER *param, select_result *result,
else
if
(
param
->
next
)
{
// first parameter
if
(
!
(
*
param
->
item
)
->
fixed
&&
(
*
param
->
item
)
->
fix_fields
(
thd
,
param
->
item
))
{
DBUG_PRINT
(
"info"
,
(
"fix_fields() for the first parameter failed"
));
goto
err
;
}
if
((
*
param
->
item
)
->
type
()
!=
Item
::
INT_ITEM
||
(
*
param
->
item
)
->
val_real
()
<
0
)
{
...
...
@@ -100,6 +105,11 @@ proc_analyse_init(THD *thd, ORDER *param, select_result *result,
goto
err
;
}
// second parameter
if
(
!
(
*
param
->
item
)
->
fixed
&&
(
*
param
->
item
)
->
fix_fields
(
thd
,
param
->
item
))
{
DBUG_PRINT
(
"info"
,
(
"fix_fields() for the second parameter failed"
));
goto
err
;
}
if
((
*
param
->
item
)
->
type
()
!=
Item
::
INT_ITEM
||
(
*
param
->
item
)
->
val_real
()
<
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