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
29cd5363
Commit
29cd5363
authored
Feb 19, 2013
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing unused code.
modified: storage/connect/ha_connect.cc
parent
59e95fe6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
storage/connect/ha_connect.cc
storage/connect/ha_connect.cc
+1
-7
No files found.
storage/connect/ha_connect.cc
View file @
29cd5363
...
...
@@ -3653,7 +3653,6 @@ int ha_connect::create(const char *name, TABLE *table_arg,
TABLE
*
st
=
table
;
// Probably unuseful
PIXDEF
xdp
,
pxd
=
NULL
,
toidx
=
NULL
;
PGLOBAL
g
=
GetPlug
(
table_arg
->
in_use
);
const
CHARSET_INFO
*
data_charset
;
DBUG_ENTER
(
"ha_connect::create"
);
PTOS
options
=
GetTableOptionStruct
(
table_arg
);
...
...
@@ -3663,6 +3662,7 @@ int ha_connect::create(const char *name, TABLE *table_arg,
if
(
options
->
data_charset
)
{
const
CHARSET_INFO
*
data_charset
;
if
(
!
(
data_charset
=
get_charset_by_csname
(
options
->
data_charset
,
MY_CS_PRIMARY
,
MYF
(
0
))))
{
...
...
@@ -3678,12 +3678,6 @@ int ha_connect::create(const char *name, TABLE *table_arg,
DBUG_RETURN
(
HA_ERR_INTERNAL_ERROR
);
}
}
else
{
data_charset
=
create_info
->
default_table_charset
?
create_info
->
default_table_charset
:
&
my_charset_latin1
;
}
if
(
!
g
)
{
rc
=
HA_ERR_INTERNAL_ERROR
;
...
...
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