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
a6b68d51
Commit
a6b68d51
authored
Apr 21, 2005
by
acurtis@xiphis.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#8861
Correct previous bugfix
parent
c5d94db3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
sql/item.cc
sql/item.cc
+1
-0
sql/protocol.cc
sql/protocol.cc
+1
-1
No files found.
sql/item.cc
View file @
a6b68d51
...
@@ -3591,6 +3591,7 @@ bool Item::send(Protocol *protocol, String *buffer)
...
@@ -3591,6 +3591,7 @@ bool Item::send(Protocol *protocol, String *buffer)
break
;
break
;
}
}
case
MYSQL_TYPE_SHORT
:
case
MYSQL_TYPE_SHORT
:
case
MYSQL_TYPE_YEAR
:
{
{
longlong
nr
;
longlong
nr
;
nr
=
val_int
();
nr
=
val_int
();
...
...
sql/protocol.cc
View file @
a6b68d51
...
@@ -774,7 +774,6 @@ bool Protocol_simple::store(const char *from, uint length,
...
@@ -774,7 +774,6 @@ bool Protocol_simple::store(const char *from, uint length,
#ifndef DEBUG_OFF
#ifndef DEBUG_OFF
DBUG_ASSERT
(
field_types
==
0
||
DBUG_ASSERT
(
field_types
==
0
||
field_types
[
field_pos
]
==
MYSQL_TYPE_DECIMAL
||
field_types
[
field_pos
]
==
MYSQL_TYPE_DECIMAL
||
field_types
[
field_pos
]
==
MYSQL_TYPE_YEAR
||
field_types
[
field_pos
]
==
MYSQL_TYPE_BIT
||
field_types
[
field_pos
]
==
MYSQL_TYPE_BIT
||
field_types
[
field_pos
]
==
MYSQL_TYPE_NEWDECIMAL
||
field_types
[
field_pos
]
==
MYSQL_TYPE_NEWDECIMAL
||
(
field_types
[
field_pos
]
>=
MYSQL_TYPE_ENUM
&&
(
field_types
[
field_pos
]
>=
MYSQL_TYPE_ENUM
&&
...
@@ -801,6 +800,7 @@ bool Protocol_simple::store_short(longlong from)
...
@@ -801,6 +800,7 @@ bool Protocol_simple::store_short(longlong from)
{
{
#ifndef DEBUG_OFF
#ifndef DEBUG_OFF
DBUG_ASSERT
(
field_types
==
0
||
DBUG_ASSERT
(
field_types
==
0
||
field_types
[
field_pos
]
==
MYSQL_TYPE_YEAR
||
field_types
[
field_pos
]
==
MYSQL_TYPE_SHORT
);
field_types
[
field_pos
]
==
MYSQL_TYPE_SHORT
);
field_pos
++
;
field_pos
++
;
#endif
#endif
...
...
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