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
8a2f3f4b
Commit
8a2f3f4b
authored
Jun 29, 2010
by
Martin Hansson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix of bad merge of test case for Bug#41660 (test case moved).
parent
d370a1fb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
mysql-test/t/error_simulation.test
mysql-test/t/error_simulation.test
+14
-14
No files found.
mysql-test/t/error_simulation.test
View file @
8a2f3f4b
...
@@ -45,6 +45,20 @@ SHOW CREATE TABLE t1;
...
@@ -45,6 +45,20 @@ SHOW CREATE TABLE t1;
SELECT * FROM t1;
SELECT * FROM t1;
DROP TABLE t1;
DROP TABLE t1;
--echo #
--echo # Bug#42064: low memory crash when importing hex strings, in Item_hex_string::Item_hex_string
--echo #
CREATE TABLE t1(a BLOB);
SET SESSION debug="+d,bug42064_simulate_oom";
# May fail with either ER_OUT_OF_RESOURCES or EE_OUTOFMEMORY
--error ER_OUT_OF_RESOURCES, 5
INSERT INTO t1 VALUES("");
SET SESSION debug=DEFAULT;
DROP TABLE t1;
-- echo #
-- echo #
-- echo # Bug#41660: Sort-index_merge for non-first join table may require
-- echo # Bug#41660: Sort-index_merge for non-first join table may require
-- echo # O(#scans) memory
-- echo # O(#scans) memory
...
@@ -75,20 +89,6 @@ SET SESSION debug = DEFAULT;
...
@@ -75,20 +89,6 @@ SET SESSION debug = DEFAULT;
DROP
TABLE
t1
,
t2
;
DROP
TABLE
t1
,
t2
;
--
echo
#
--
echo
# Bug#42064: low memory crash when importing hex strings, in Item_hex_string::Item_hex_string
--
echo
#
CREATE
TABLE
t1
(
a
BLOB
);
SET
SESSION
debug
=
"+d,bug42064_simulate_oom"
;
# May fail with either ER_OUT_OF_RESOURCES or EE_OUTOFMEMORY
--
error
ER_OUT_OF_RESOURCES
,
5
INSERT
INTO
t1
VALUES
(
""
);
SET
SESSION
debug
=
DEFAULT
;
DROP
TABLE
t1
;
--
echo
#
--
echo
#
--
echo
# End of 5.1 tests
--
echo
# End of 5.1 tests
--
echo
#
--
echo
#
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