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
89260b24
Commit
89260b24
authored
Aug 12, 2009
by
Mattias Jonsson
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
abc73040
b28f09bd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
17 deletions
+5
-17
sql/handler.h
sql/handler.h
+3
-5
sql/sql_yacc.yy
sql/sql_yacc.yy
+0
-8
sql/table.h
sql/table.h
+2
-4
No files found.
sql/handler.h
View file @
89260b24
...
...
@@ -895,7 +895,7 @@ class partition_info;
struct
st_partition_iter
;
#define NOT_A_PARTITION_ID ((uint32)-1)
enum
ha_choice
{
HA_CHOICE_UNDEF
,
HA_CHOICE_NO
,
HA_CHOICE_YES
};
enum
enum_ha_unused
{
HA_CHOICE_UNDEF
,
HA_CHOICE_NO
,
HA_CHOICE_YES
};
typedef
struct
st_ha_create_information
{
...
...
@@ -918,14 +918,12 @@ typedef struct st_ha_create_information
uint
options
;
/* OR of HA_CREATE_ options */
uint
merge_insert_method
;
uint
extra_size
;
/* length of extra data segment */
/** Transactional or not. Unused; reserved for future versions. */
enum
ha_choice
transactional
;
enum
enum_ha_unused
unused1
;
bool
table_existed
;
/* 1 in create if table existed */
bool
frm_only
;
/* 1 if no ha_create_table() */
bool
varchar
;
/* 1 if table has a VARCHAR */
enum
ha_storage_media
storage_media
;
/* DEFAULT, DISK or MEMORY */
/** Per-page checksums or not. Unused; reserved for future versions. */
enum
ha_choice
page_checksum
;
enum
enum_ha_unused
unused2
;
}
HA_CREATE_INFO
;
...
...
sql/sql_yacc.yy
View file @
89260b24
...
...
@@ -494,7 +494,6 @@ Item* handle_sql2003_note184_exception(THD *thd, Item* left, bool equal,
enum enum_tx_isolation tx_isolation;
enum Cast_target cast_type;
enum Item_udftype udf_type;
enum ha_choice choice;
CHARSET_INFO *charset;
thr_lock_type lock_type;
interval_type interval, interval_time_st;
...
...
@@ -1164,8 +1163,6 @@ bool my_yyoverflow(short **a, YYSTYPE **b, ulong *yystacksize);
%type <ulonglong_number>
ulonglong_num real_ulonglong_num size_number
%type <choice> choice
%type <p_elem_value>
part_bit_expr
...
...
@@ -9066,11 +9063,6 @@ dec_num:
| FLOAT_NUM
;
choice:
ulong_num { $$= $1 != 0 ? HA_CHOICE_YES : HA_CHOICE_NO; }
| DEFAULT { $$= HA_CHOICE_UNDEF; }
;
procedure_clause:
/* empty */
| PROCEDURE ident /* Procedure name */
...
...
sql/table.h
View file @
89260b24
...
...
@@ -361,10 +361,8 @@ typedef struct st_table_share
}
enum
row_type
row_type
;
/* How rows are stored */
enum
tmp_table_type
tmp_table
;
/** Transactional or not. Unused; reserved for future versions. */
enum
ha_choice
transactional
;
/** Per-page checksums or not. Unused; reserved for future versions. */
enum
ha_choice
page_checksum
;
enum
enum_ha_unused
unused1
;
enum
enum_ha_unused
unused2
;
uint
ref_count
;
/* How many TABLE objects uses this */
uint
open_count
;
/* Number of tables in open list */
...
...
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