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
61bd7d0c
Commit
61bd7d0c
authored
Oct 09, 2012
by
Vasil Dimov
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql-5.1 -> mysql-5.5
parents
5427d33e
4cefe863
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
storage/innobase/os/os0file.c
storage/innobase/os/os0file.c
+13
-0
storage/innobase/row/row0mysql.c
storage/innobase/row/row0mysql.c
+4
-1
No files found.
storage/innobase/os/os0file.c
View file @
61bd7d0c
...
...
@@ -1397,6 +1397,13 @@ os_file_create_func(
DWORD
create_flag
;
DWORD
attributes
;
ibool
retry
;
DBUG_EXECUTE_IF
(
"ib_create_table_fail_disk_full"
,
*
success
=
FALSE
;
SetLastError
(
ERROR_DISK_FULL
);
return
((
os_file_t
)
-
1
);
);
try_again:
ut_a
(
name
);
...
...
@@ -1512,6 +1519,12 @@ os_file_create_func(
ibool
retry
;
const
char
*
mode_str
=
NULL
;
DBUG_EXECUTE_IF
(
"ib_create_table_fail_disk_full"
,
*
success
=
FALSE
;
errno
=
ENOSPC
;
return
((
os_file_t
)
-
1
);
);
try_again:
ut_a
(
name
);
...
...
storage/innobase/row/row0mysql.c
View file @
61bd7d0c
...
...
@@ -1855,7 +1855,8 @@ Creates a table for MySQL. If the name of the table ends in
one of "innodb_monitor", "innodb_lock_monitor", "innodb_tablespace_monitor",
"innodb_table_monitor", then this will also start the printing of monitor
output by the master thread. If the table name ends in "innodb_mem_validate",
InnoDB will try to invoke mem_validate().
InnoDB will try to invoke mem_validate(). On failure the transaction will
be rolled back and the 'table' object will be freed.
@return error code or DB_SUCCESS */
UNIV_INTERN
int
...
...
@@ -1993,6 +1994,8 @@ row_create_table_for_mysql(
row_drop_table_for_mysql
(
table
->
name
,
trx
,
FALSE
);
trx_commit_for_mysql
(
trx
);
}
else
{
dict_mem_table_free
(
table
);
}
break
;
...
...
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