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
1f6bd88c
Commit
1f6bd88c
authored
Apr 12, 2018
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-15728 main.thread_id_overflow fails in ps-protocol
mark CONNECTION_ID() as returning *unsigned* number
parent
41983fd3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
mysql-test/main/func_hybrid_type.result
mysql-test/main/func_hybrid_type.result
+5
-5
sql/item_func.h
sql/item_func.h
+1
-1
No files found.
mysql-test/main/func_hybrid_type.result
View file @
1f6bd88c
...
...
@@ -3745,11 +3745,11 @@ IF(0,connection_id(),connection_id()) AS c4;
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c0` int(10) NOT NULL,
`c1` int(10) NOT NULL,
`c2` int(10) NOT NULL,
`c3` int(10) NOT NULL,
`c4` int(10) NOT NULL
`c0` int(10)
unsigned
NOT NULL,
`c1` int(10)
unsigned
NOT NULL,
`c2` int(10)
unsigned
NOT NULL,
`c3` int(10)
unsigned
NOT NULL,
`c4` int(10)
unsigned
NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
DROP TABLE t1;
#
...
...
sql/item_func.h
View file @
1f6bd88c
...
...
@@ -849,7 +849,7 @@ class Item_func_connection_id :public Item_long_func
longlong
value
;
public:
Item_func_connection_id
(
THD
*
thd
)
:
Item_long_func
(
thd
)
{}
Item_func_connection_id
(
THD
*
thd
)
:
Item_long_func
(
thd
)
{
unsigned_flag
=
1
;
}
const
char
*
func_name
()
const
{
return
"connection_id"
;
}
void
fix_length_and_dec
();
bool
fix_fields
(
THD
*
thd
,
Item
**
ref
);
...
...
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