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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
4bab858f
Commit
4bab858f
authored
Jul 19, 2007
by
dfischer/mysqldev@mysql.com/production.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
field.cc, field.h:
i5 compatibility
parent
0e98bed9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
sql/field.cc
sql/field.cc
+1
-0
sql/field.h
sql/field.h
+1
-1
No files found.
sql/field.cc
View file @
4bab858f
...
@@ -6270,6 +6270,7 @@ Field *Field_string::new_field(MEM_ROOT *root, struct st_table *new_table,
...
@@ -6270,6 +6270,7 @@ Field *Field_string::new_field(MEM_ROOT *root, struct st_table *new_table,
is 2.
is 2.
****************************************************************************/
****************************************************************************/
const
uint
Field_varstring
::
MAX_SIZE
=
UINT_MAX16
;
int
Field_varstring
::
store
(
const
char
*
from
,
uint
length
,
CHARSET_INFO
*
cs
)
int
Field_varstring
::
store
(
const
char
*
from
,
uint
length
,
CHARSET_INFO
*
cs
)
{
{
...
...
sql/field.h
View file @
4bab858f
...
@@ -1116,7 +1116,7 @@ public:
...
@@ -1116,7 +1116,7 @@ public:
The maximum space available in a Field_varstring, in bytes. See
The maximum space available in a Field_varstring, in bytes. See
length_bytes.
length_bytes.
*/
*/
static
const
uint
MAX_SIZE
=
UINT_MAX16
;
static
const
uint
MAX_SIZE
;
/* Store number of bytes used to store length (1 or 2) */
/* Store number of bytes used to store length (1 or 2) */
uint32
length_bytes
;
uint32
length_bytes
;
Field_varstring
(
char
*
ptr_arg
,
Field_varstring
(
char
*
ptr_arg
,
...
...
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