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
454339b2
Commit
454339b2
authored
Aug 12, 2002
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes after last merge
parent
3ef9d44e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
mysql-test/r/func_if.result
mysql-test/r/func_if.result
+6
-0
sql/ha_innodb.cc
sql/ha_innodb.cc
+1
-1
No files found.
mysql-test/r/func_if.result
View file @
454339b2
...
@@ -46,3 +46,9 @@ select sum(if(num is null,0.00,num)) from t1;
...
@@ -46,3 +46,9 @@ select sum(if(num is null,0.00,num)) from t1;
sum(if(num is null,0.00,num))
sum(if(num is null,0.00,num))
144.54
144.54
drop table t1;
drop table t1;
create table t1 (x int, y int);
insert into t1 values (0,6),(10,16),(20,26),(30,10),(40,46),(50,56);
select min(if(y -x > 5,y,NULL)), max(if(y - x > 5,y,NULL)) from t1;
min(if(y -x > 5,y,NULL)) max(if(y - x > 5,y,NULL))
6 56
drop table t1;
sql/ha_innodb.cc
View file @
454339b2
...
@@ -309,7 +309,7 @@ innobase_mysql_print_thd(
...
@@ -309,7 +309,7 @@ innobase_mysql_print_thd(
buf
[
0
]
=
'\n'
;
buf
[
0
]
=
'\n'
;
buf
[
1
]
=
0
;
buf
[
1
]
=
0
;
ut_a
(
strlen
(
old_
buf
)
<
400
);
ut_a
(
strlen
(
buf
)
<
400
);
}
}
}
}
...
...
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