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
70e865cc
Commit
70e865cc
authored
Mar 21, 2014
by
Olivier Bertrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Remove 2 compile warnings
modified: storage/connect/ha_connect.cc
parent
8a633c94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
storage/connect/ha_connect.cc
storage/connect/ha_connect.cc
+7
-4
No files found.
storage/connect/ha_connect.cc
View file @
70e865cc
...
...
@@ -4572,7 +4572,9 @@ int ha_connect::create(const char *name, TABLE *table_arg,
sprintf
(
g
->
Message
,
"Unsupported 0 length for column %s"
,
fp
->
field_name
);
rc
=
HA_ERR_INTERNAL_ERROR
;
my_printf_error
(
ER_UNKNOWN_ERROR
,
g
->
Message
,
MYF
(
0
));
my_printf_error
(
ER_UNKNOWN_ERROR
,
"Unsupported 0 length for column %s"
,
MYF
(
0
),
fp
->
field_name
);
DBUG_RETURN
(
rc
);
}
// endif fp
...
...
@@ -4591,15 +4593,16 @@ int ha_connect::create(const char *name, TABLE *table_arg,
sprintf
(
g
->
Message
,
"Unsupported type for column %s"
,
fp
->
field_name
);
rc
=
HA_ERR_INTERNAL_ERROR
;
my_printf_error
(
ER_UNKNOWN_ERROR
,
g
->
Message
,
MYF
(
0
));
my_printf_error
(
ER_UNKNOWN_ERROR
,
"Unsupported type for column %s"
,
MYF
(
0
),
fp
->
field_name
);
DBUG_RETURN
(
rc
);
break
;
}
// endswitch type
if
((
fp
)
->
real_maybe_null
()
&&
!
IsTypeNullable
(
type
))
{
my_printf_error
(
ER_UNKNOWN_ERROR
,
"Table type %s does not support nullable columns"
,
MYF
(
0
),
options
->
type
);
"Table type %s does not support nullable columns"
,
MYF
(
0
),
options
->
type
);
DBUG_RETURN
(
HA_ERR_UNSUPPORTED
);
}
// endif !nullable
...
...
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