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
d0fc67f4
Commit
d0fc67f4
authored
Feb 13, 2002
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use NAMES_SEP_CHAR also for enums (Fix for supportwizard)
parent
3c18798a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
sql/unireg.cc
sql/unireg.cc
+2
-2
sql/unireg.h
sql/unireg.h
+0
-5
No files found.
sql/unireg.cc
View file @
d0fc67f4
...
...
@@ -486,11 +486,11 @@ static bool pack_fields(File file,List<create_field> &create_fields)
if
(
field
->
interval_id
>
int_count
)
{
int_count
=
field
->
interval_id
;
tmp
.
append
(
'\377'
);
tmp
.
append
(
NAMES_SEP_CHAR
);
for
(
const
char
**
pos
=
field
->
interval
->
type_names
;
*
pos
;
pos
++
)
{
tmp
.
append
(
*
pos
);
tmp
.
append
(
'\377'
);
tmp
.
append
(
NAMES_SEP_CHAR
);
}
tmp
.
append
(
'\0'
);
// End of intervall
}
...
...
sql/unireg.h
View file @
d0fc67f4
...
...
@@ -70,11 +70,6 @@
#define FERR -1
/* Error from my_functions */
#define CREATE_MODE 0
/* Default mode on new files */
#define NAMES_SEP_CHAR '\377'
/* Char to sep. names */
#ifdef MSDOS
#define EXTRA_FIELD_CHAR (char) '\234'
/* Interchangebly with '#' */
#else
#define EXTRA_FIELD_CHAR '#'
/* Interchangebly with '#' */
#endif
#define READ_RECORD_BUFFER (uint) (IO_SIZE*8)
/* Pointer_buffer_size */
#define DISK_BUFFER_SIZE (uint) (IO_SIZE*16)
/* Size of diskbuffer */
...
...
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