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
eb958aff
Commit
eb958aff
authored
Jun 03, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
into moonbone.local:/mnt/gentoo64/work/test-5.0-opt-mysql
parents
a6f1d558
e19dcfa9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
mysql-test/r/user_var.result
mysql-test/r/user_var.result
+6
-6
sql/item_func.cc
sql/item_func.cc
+2
-2
sql/item_func.h
sql/item_func.h
+2
-2
No files found.
mysql-test/r/user_var.result
View file @
eb958aff
...
...
@@ -336,16 +336,16 @@ select @a:=f1, count(f1) from t1 group by 1 asc;
4 1
select @a:=f2, count(f2) from t1 group by 1 desc;
@a:=f2 count(f2)
a 4
b 1
c 2
d 1
c 2
b 1
a 4
select @a:=f3, count(f3) from t1 group by 1 desc;
@a:=f3 count(f3)
1.5 4
2.5 1
3.5 2
4.5 1
3.5 2
2.5 1
1.5 4
select @a:=f4, count(f4) from t1 group by 1 desc;
@a:=f4 count(f4)
4.6 1
...
...
sql/item_func.cc
View file @
eb958aff
...
...
@@ -4208,7 +4208,7 @@ my_decimal *Item_func_set_user_var::val_decimal(my_decimal *val)
}
double
Item_func_set_user_var
::
val_re
al_re
sult
()
double
Item_func_set_user_var
::
val_result
()
{
DBUG_ASSERT
(
fixed
==
1
);
check
(
TRUE
);
...
...
@@ -4224,7 +4224,7 @@ longlong Item_func_set_user_var::val_int_result()
return
entry
->
val_int
(
&
null_value
);
}
String
*
Item_func_set_user_var
::
val_
str_result
(
String
*
str
)
String
*
Item_func_set_user_var
::
str_result
(
String
*
str
)
{
DBUG_ASSERT
(
fixed
==
1
);
check
(
TRUE
);
...
...
sql/item_func.h
View file @
eb958aff
...
...
@@ -1208,9 +1208,9 @@ public:
longlong
val_int
();
String
*
val_str
(
String
*
str
);
my_decimal
*
val_decimal
(
my_decimal
*
);
double
val_re
al_re
sult
();
double
val_result
();
longlong
val_int_result
();
String
*
val_
str_result
(
String
*
str
);
String
*
str_result
(
String
*
str
);
my_decimal
*
val_decimal_result
(
my_decimal
*
);
bool
update_hash
(
void
*
ptr
,
uint
length
,
enum
Item_result
type
,
CHARSET_INFO
*
cs
,
Derivation
dv
,
bool
unsigned_arg
);
...
...
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