Commit 26b57d2a authored by unknown's avatar unknown

Use NAMES_SEP_CHAR also for enums (Fix for supportwizard)


sql/unireg.cc:
  Use NAMES_SEP_CHAR also for enums
sql/unireg.h:
  cleanup
parent 345f3854
......@@ -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
}
......
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment