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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
a24a38df
Commit
a24a38df
authored
May 31, 2007
by
igor@olga.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-merge fix.
parent
d460dc70
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
mysql-test/r/user_var.result
mysql-test/r/user_var.result
+1
-1
mysql-test/t/user_var.test
mysql-test/t/user_var.test
+1
-1
sql/sql_update.cc
sql/sql_update.cc
+1
-1
No files found.
mysql-test/r/user_var.result
View file @
a24a38df
...
@@ -319,7 +319,7 @@ SHOW COUNT(*) ERRORS;
...
@@ -319,7 +319,7 @@ SHOW COUNT(*) ERRORS;
1
1
create table t1(f1 int);
create table t1(f1 int);
insert into t1 values(1),(1),(2);
insert into t1 values(1),(1),(2);
select @a:=f1, count(f1) from t1 group by 1;
select @a:=f1, count(f1) from t1 group by 1
order by 1
;
@a:=f1 count(f1)
@a:=f1 count(f1)
1 2
1 2
2 1
2 1
...
...
mysql-test/t/user_var.test
View file @
a24a38df
...
@@ -228,5 +228,5 @@ SHOW COUNT(*) ERRORS;
...
@@ -228,5 +228,5 @@ SHOW COUNT(*) ERRORS;
#
#
create
table
t1
(
f1
int
);
create
table
t1
(
f1
int
);
insert
into
t1
values
(
1
),(
1
),(
2
);
insert
into
t1
values
(
1
),(
1
),(
2
);
select
@
a
:=
f1
,
count
(
f1
)
from
t1
group
by
1
;
select
@
a
:=
f1
,
count
(
f1
)
from
t1
group
by
1
order
by
1
;
drop
table
t1
;
drop
table
t1
;
sql/sql_update.cc
View file @
a24a38df
...
@@ -1656,7 +1656,7 @@ int multi_update::do_updates(bool from_send_error)
...
@@ -1656,7 +1656,7 @@ int multi_update::do_updates(bool from_send_error)
{
{
if
((
local_error
=
if
((
local_error
=
tbl
->
file
->
rnd_pos
(
tbl
->
record
[
0
],
tbl
->
file
->
rnd_pos
(
tbl
->
record
[
0
],
(
byte
*
)
tmp_table
->
field
[
field_num
]
->
ptr
)))
(
uchar
*
)
tmp_table
->
field
[
field_num
]
->
ptr
)))
goto
err
;
goto
err
;
field_num
++
;
field_num
++
;
}
while
((
tbl
=
check_opt_it
++
));
}
while
((
tbl
=
check_opt_it
++
));
...
...
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