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
52ad8a10
Commit
52ad8a10
authored
Jul 19, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
field.cc, field.h:
i5 compatibility sql/field.h: i5 compatibility sql/field.cc: i5 compatibility
parent
be61b864
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 @
52ad8a10
...
@@ -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 @
52ad8a10
...
@@ -1116,7 +1116,7 @@ class Field_varstring :public Field_longstr {
...
@@ -1116,7 +1116,7 @@ class Field_varstring :public Field_longstr {
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