summaryrefslogtreecommitdiff
path: root/sql/parse_file.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-07-07 20:54:12 +0300
committerunknown <bell@sanja.is.com.ua>2004-07-07 20:54:12 +0300
commit930c74fd119ccae05161e4c6f3d47138c9b0eb94 (patch)
tree9aebede607e146fa1afe46b2514f3d0747e831b8 /sql/parse_file.h
parent2f62cb47aa986b32dd61b7738701d98cdc3dee2d (diff)
downloadmariadb-git-930c74fd119ccae05161e4c6f3d47138c9b0eb94.tar.gz
syntax fix
Diffstat (limited to 'sql/parse_file.h')
-rw-r--r--sql/parse_file.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sql/parse_file.h b/sql/parse_file.h
index f88bab561d3..4c944d1c6e2 100644
--- a/sql/parse_file.h
+++ b/sql/parse_file.h
@@ -20,7 +20,7 @@
#define PARSE_FILE_TIMESTAMPLENGTH 19
-typedef enum {
+enum file_opt_type {
FILE_OPTIONS_STRING, /* String (LEX_STRING) */
FILE_OPTIONS_ESTRING, /* Escaped string (LEX_STRING) */
FILE_OPTIONS_ULONGLONG, /* ulonglong parapeter (ulonglong) */
@@ -28,13 +28,13 @@ typedef enum {
FILE_OPTIONS_TIMESTAMP, /* timestamp (LEX_STRING have to be
allocated with length 20 (19+1) */
FILE_OPTIONS_STRLIST /* list of strings (List<char*>) */
-} file_opt_type;
-
+};
+
struct File_option
{
LEX_STRING name; /* Name of the option */
- int offset; /* offset to base address of value */
- enum file_opt_type type; /* Option type */
+ int offset; /* offset to base address of value */
+ file_opt_type type; /* Option type */
};
class File_parser;