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
f93bfe06
Commit
f93bfe06
authored
Jan 18, 2005
by
bar@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
a55f4a5d
8cfe7296
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
mysql-test/r/metadata.result
mysql-test/r/metadata.result
+3
-3
sql/item_cmpfunc.cc
sql/item_cmpfunc.cc
+3
-0
No files found.
mysql-test/r/metadata.result
View file @
f93bfe06
drop table if exists t1,t2;
drop table if exists t1,t2;
select 1, 1.0, -1, "hello", NULL;
select 1, 1.0, -1, "hello", NULL;
Catalog Database Table Table_alias Column Column_alias Name Type Length Max length Is_null Flags Decimals Charsetnr
Catalog Database Table Table_alias Column Column_alias Name Type Length Max length Is_null Flags Decimals Charsetnr
def 1 8 1 1 N 32
769 0 8
def 1 8 1 1 N 32
897 0 63
def 1.0 5 3 3 N 32
769 1 8
def 1.0 5 3 3 N 32
897 1 63
def -1 8 2 2 N 32
769 0 8
def -1 8 2 2 N 32
897 0 63
def hello 253 5 5 N 1 31 8
def hello 253 5 5 N 1 31 8
def NULL 6 0 0 Y 32896 0 63
def NULL 6 0 0 Y 32896 0 63
1 1.0 -1 hello NULL
1 1.0 -1 hello NULL
...
...
sql/item_cmpfunc.cc
View file @
f93bfe06
...
@@ -1119,6 +1119,9 @@ Item_func_nullif::fix_length_and_dec()
...
@@ -1119,6 +1119,9 @@ Item_func_nullif::fix_length_and_dec()
max_length
=
args
[
0
]
->
max_length
;
max_length
=
args
[
0
]
->
max_length
;
decimals
=
args
[
0
]
->
decimals
;
decimals
=
args
[
0
]
->
decimals
;
agg_result_type
(
&
cached_result_type
,
args
,
2
);
agg_result_type
(
&
cached_result_type
,
args
,
2
);
if
(
cached_result_type
==
STRING_RESULT
&&
agg_arg_charsets
(
collation
,
args
,
arg_count
,
MY_COLL_CMP_CONV
))
return
;
}
}
}
}
...
...
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