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
ffa2eb43
Commit
ffa2eb43
authored
Jun 08, 2013
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing a few compiler warnings
modified: storage/connect/ha_connect.cc storage/connect/value.cpp
parent
e227d502
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
storage/connect/ha_connect.cc
storage/connect/ha_connect.cc
+3
-3
storage/connect/value.cpp
storage/connect/value.cpp
+2
-0
No files found.
storage/connect/ha_connect.cc
View file @
ffa2eb43
...
@@ -228,8 +228,8 @@ ha_create_table_option connect_table_option_list[]=
...
@@ -228,8 +228,8 @@ ha_create_table_option connect_table_option_list[]=
//HA_TOPTION_NUMBER("ESTIMATE", estimate, 0, 0, INT_MAX32, 1),
//HA_TOPTION_NUMBER("ESTIMATE", estimate, 0, 0, INT_MAX32, 1),
HA_TOPTION_NUMBER
(
"MULTIPLE"
,
multiple
,
0
,
0
,
2
,
1
),
HA_TOPTION_NUMBER
(
"MULTIPLE"
,
multiple
,
0
,
0
,
2
,
1
),
HA_TOPTION_NUMBER
(
"HEADER"
,
header
,
0
,
0
,
3
,
1
),
HA_TOPTION_NUMBER
(
"HEADER"
,
header
,
0
,
0
,
3
,
1
),
HA_TOPTION_NUMBER
(
"QUOTED"
,
quoted
,
-
1
,
0
,
3
,
1
),
HA_TOPTION_NUMBER
(
"QUOTED"
,
quoted
,
(
ulonglong
)
-
1
,
0
,
3
,
1
),
HA_TOPTION_NUMBER
(
"ENDING"
,
ending
,
-
1
,
0
,
INT_MAX32
,
1
),
HA_TOPTION_NUMBER
(
"ENDING"
,
ending
,
(
ulonglong
)
-
1
,
0
,
INT_MAX32
,
1
),
HA_TOPTION_NUMBER
(
"COMPRESS"
,
compressed
,
0
,
0
,
2
,
1
),
HA_TOPTION_NUMBER
(
"COMPRESS"
,
compressed
,
0
,
0
,
2
,
1
),
//HA_TOPTION_BOOL("COMPRESS", compressed, 0),
//HA_TOPTION_BOOL("COMPRESS", compressed, 0),
HA_TOPTION_BOOL
(
"MAPPED"
,
mapped
,
0
),
HA_TOPTION_BOOL
(
"MAPPED"
,
mapped
,
0
),
...
@@ -249,7 +249,7 @@ ha_create_table_option connect_table_option_list[]=
...
@@ -249,7 +249,7 @@ ha_create_table_option connect_table_option_list[]=
*/
*/
ha_create_table_option
connect_field_option_list
[]
=
ha_create_table_option
connect_field_option_list
[]
=
{
{
HA_FOPTION_NUMBER
(
"FLAG"
,
offset
,
-
1
,
0
,
INT_MAX32
,
1
),
HA_FOPTION_NUMBER
(
"FLAG"
,
offset
,
(
ulonglong
)
-
1
,
0
,
INT_MAX32
,
1
),
HA_FOPTION_NUMBER
(
"FREQUENCY"
,
freq
,
0
,
0
,
INT_MAX32
,
1
),
// not used
HA_FOPTION_NUMBER
(
"FREQUENCY"
,
freq
,
0
,
0
,
INT_MAX32
,
1
),
// not used
HA_FOPTION_NUMBER
(
"OPT_VALUE"
,
opt
,
0
,
0
,
2
,
1
),
// used for indexing
HA_FOPTION_NUMBER
(
"OPT_VALUE"
,
opt
,
0
,
0
,
2
,
1
),
// used for indexing
HA_FOPTION_NUMBER
(
"FIELD_LENGTH"
,
fldlen
,
0
,
0
,
INT_MAX32
,
1
),
HA_FOPTION_NUMBER
(
"FIELD_LENGTH"
,
fldlen
,
0
,
0
,
INT_MAX32
,
1
),
...
...
storage/connect/value.cpp
View file @
ffa2eb43
...
@@ -88,6 +88,7 @@ PSZ strlwr(PSZ s);
...
@@ -88,6 +88,7 @@ PSZ strlwr(PSZ s);
}
}
#endif // !WIN32
#endif // !WIN32
#ifdef NOT_USED
/***********************************************************************/
/***********************************************************************/
/* Returns the bitmap representing the conditions that must not be */
/* Returns the bitmap representing the conditions that must not be */
/* met when returning from TestValue for a given operator. */
/* met when returning from TestValue for a given operator. */
...
@@ -113,6 +114,7 @@ static BYTE OpBmp(PGLOBAL g, OPVAL opc)
...
@@ -113,6 +114,7 @@ static BYTE OpBmp(PGLOBAL g, OPVAL opc)
return
bt
;
return
bt
;
}
// end of OpBmp
}
// end of OpBmp
#endif
/***********************************************************************/
/***********************************************************************/
/* GetTypeName: returns the PlugDB internal type name. */
/* GetTypeName: returns the PlugDB internal type name. */
...
...
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