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
dce490e9
Commit
dce490e9
authored
Sep 15, 2021
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Give less memory to get reliable error.
parent
dabc3329
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mysql-test/r/truncate_notembedded.result
mysql-test/r/truncate_notembedded.result
+2
-2
mysql-test/t/truncate_notembedded.test
mysql-test/t/truncate_notembedded.test
+1
-1
No files found.
mysql-test/r/truncate_notembedded.result
View file @
dce490e9
...
...
@@ -5,7 +5,7 @@
CREATE TABLE t1 (a INT) ENGINE=MyISAM;
LOCK TABLE t1 READ;
connect con1,localhost,root,,test;
SET SESSION max_session_mem_used=
65536
;
SET SESSION max_session_mem_used=
45500
;
LOCK TABLE t1 WRITE;
connection default;
SELECT * FROM t1;
...
...
@@ -13,7 +13,7 @@ a
UNLOCK TABLES;
connection con1;
TRUNCATE TABLE t1;
ERROR HY000: The MariaDB server is running with the --max-thread-mem-used=
65536
option so it cannot execute this statement
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/t/truncate_notembedded.test
View file @
dce490e9
...
...
@@ -9,7 +9,7 @@ CREATE TABLE t1 (a INT) ENGINE=MyISAM;
LOCK
TABLE
t1
READ
;
--
connect
(
con1
,
localhost
,
root
,,
test
)
SET
SESSION
max_session_mem_used
=
65536
;
SET
SESSION
max_session_mem_used
=
45500
;
--
send
LOCK
TABLE
t1
WRITE
;
...
...
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