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
d6c380f9
Commit
d6c380f9
authored
Jul 30, 2004
by
mronstrom@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/Users/mikron/mysql-4.1
parents
48c88f3a
9edc3d8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
sql/ha_innodb.cc
sql/ha_innodb.cc
+12
-4
No files found.
sql/ha_innodb.cc
View file @
d6c380f9
...
...
@@ -3642,11 +3642,19 @@ ha_innobase::create(
}
if
(
current_thd
->
query
!=
NULL
)
{
error
=
row_table_add_foreign_constraints
(
trx
,
current_thd
->
query
,
norm_name
);
error
=
convert_error_code_to_mysql
(
error
,
NULL
);
LEX_STRING
q
;
if
(
thd
->
convert_string
(
&
q
,
system_charset_info
,
current_thd
->
query
,
current_thd
->
query_length
,
current_thd
->
charset
()))
{
error
=
HA_ERR_OUT_OF_MEM
;
}
else
{
error
=
row_table_add_foreign_constraints
(
trx
,
q
.
str
,
norm_name
);
error
=
convert_error_code_to_mysql
(
error
,
NULL
);
}
if
(
error
)
{
innobase_commit_low
(
trx
);
...
...
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