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
2f5d6ef0
Commit
2f5d6ef0
authored
Jan 27, 2022
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed random failure main/truncate_notembedded
Backport from 10.6
parent
20a91b8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
mysql-test/main/truncate_notembedded.result
mysql-test/main/truncate_notembedded.result
+0
-1
mysql-test/main/truncate_notembedded.test
mysql-test/main/truncate_notembedded.test
+5
-1
No files found.
mysql-test/main/truncate_notembedded.result
View file @
2f5d6ef0
...
...
@@ -13,7 +13,6 @@ a
UNLOCK TABLES;
connection con1;
TRUNCATE TABLE t1;
ERROR HY000: The MariaDB server is running with the --max-thread-mem-used=45500 option so it cannot execute this statement
disconnect con1;
connection default;
DROP TABLE t1;
...
...
mysql-test/main/truncate_notembedded.test
View file @
2f5d6ef0
...
...
@@ -18,8 +18,12 @@ SELECT * FROM t1;
UNLOCK
TABLES
;
--
connection
con1
--
error
0
,
ER_OPTION_PREVENTS_STATEMENT
--
reap
--
error
ER_OPTION_PREVENTS_STATEMENT
# This may work or fail as different servers uses different amount of
# memory and the statement may work or not. What is important is that we
# don't get a crash here!
--
error
0
,
ER_OPTION_PREVENTS_STATEMENT
TRUNCATE
TABLE
t1
;
--
disconnect
con1
...
...
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