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
f0261aca
Commit
f0261aca
authored
Feb 06, 2009
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#42201 Maria: after a deadlock, table is marked as corrupted
don't treat deadlock or timeout as a sign of corruption
parent
5564e53c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
mysql-test/suite/maria/r/maria_notembedded.result
mysql-test/suite/maria/r/maria_notembedded.result
+3
-0
mysql-test/suite/maria/t/maria_notembedded.test
mysql-test/suite/maria/t/maria_notembedded.test
+1
-0
storage/maria/ma_write.c
storage/maria/ma_write.c
+2
-0
No files found.
mysql-test/suite/maria/r/maria_notembedded.result
View file @
f0261aca
...
@@ -50,4 +50,7 @@ ERROR 23000: Duplicate entry '4' for key 'a'
...
@@ -50,4 +50,7 @@ ERROR 23000: Duplicate entry '4' for key 'a'
unlock tables;
unlock tables;
ERROR 23000: Duplicate entry '5' for key 'a'
ERROR 23000: Duplicate entry '5' for key 'a'
unlock tables;
unlock tables;
check table t1;
Table Op Msg_type Msg_text
test.t1 check status OK
drop table t1;
drop table t1;
mysql-test/suite/maria/t/maria_notembedded.test
View file @
f0261aca
...
@@ -89,6 +89,7 @@ unlock tables;
...
@@ -89,6 +89,7 @@ unlock tables;
disconnect
con_d
;
disconnect
con_d
;
connection
default
;
connection
default
;
check
table
t1
;
drop
table
t1
;
drop
table
t1
;
--
disable_result_log
--
disable_result_log
...
...
storage/maria/ma_write.c
View file @
f0261aca
...
@@ -325,6 +325,8 @@ err:
...
@@ -325,6 +325,8 @@ err:
fatal_error
=
0
;
fatal_error
=
0
;
if
(
my_errno
==
HA_ERR_FOUND_DUPP_KEY
||
if
(
my_errno
==
HA_ERR_FOUND_DUPP_KEY
||
my_errno
==
HA_ERR_RECORD_FILE_FULL
||
my_errno
==
HA_ERR_RECORD_FILE_FULL
||
my_errno
==
HA_ERR_LOCK_DEADLOCK
||
my_errno
==
HA_ERR_LOCK_WAIT_TIMEOUT
||
my_errno
==
HA_ERR_NULL_IN_SPATIAL
||
my_errno
==
HA_ERR_NULL_IN_SPATIAL
||
my_errno
==
HA_ERR_OUT_OF_MEM
)
my_errno
==
HA_ERR_OUT_OF_MEM
)
{
{
...
...
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