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
7e0f591f
Commit
7e0f591f
authored
Apr 04, 2013
by
Olivier Bertrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Do not accept creating XML2 tables when libxml2 is not available
modified: storage/connect/ha_connect.cc
parent
d12e1c92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
storage/connect/ha_connect.cc
storage/connect/ha_connect.cc
+11
-9
No files found.
storage/connect/ha_connect.cc
View file @
7e0f591f
...
@@ -2205,12 +2205,12 @@ int ha_connect::write_row(uchar *buf)
...
@@ -2205,12 +2205,12 @@ int ha_connect::write_row(uchar *buf)
DBUG_RETURN
(
0
);
DBUG_RETURN
(
0
);
#if 0 // AUTO_INCREMENT NIY
#if 0 // AUTO_INCREMENT NIY
if (table->next_number_field && buf == table->record[0]) {
if (table->next_number_field && buf == table->record[0]) {
int error;
int error;
if ((error= update_auto_increment()))
if ((error= update_auto_increment()))
return error;
return error;
} // endif nex_number_field
} // endif nex_number_field
#endif // 0
#endif // 0
...
@@ -4032,9 +4032,11 @@ int ha_connect::create(const char *name, TABLE *table_arg,
...
@@ -4032,9 +4032,11 @@ int ha_connect::create(const char *name, TABLE *table_arg,
}
// endif Libxml2
}
// endif Libxml2
#endif // !LIBXML2_SUPPORT
#endif // !LIBXML2_SUPPORT
if
(
!
xsup
)
if
(
!
xsup
)
{
push_warning
(
table_arg
->
in_use
,
my_message
(
ER_UNKNOWN_ERROR
,
g
->
Message
,
MYF
(
0
));
MYSQL_ERROR
::
WARN_LEVEL_WARN
,
0
,
g
->
Message
);
rc
=
HA_ERR_INTERNAL_ERROR
;
DBUG_RETURN
(
rc
);
}
// endif xsup
}
// endif type
}
// endif type
...
...
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