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
f1312d30
Commit
f1312d30
authored
Apr 03, 2008
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dynamically set debug flag for session only
- avoid restart - keep all in one file - fix --check-testcase
parent
16d4936e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
mysql-test/r/error_simulation.result
mysql-test/r/error_simulation.result
+1
-0
mysql-test/t/error_simulation-master.opt
mysql-test/t/error_simulation-master.opt
+0
-1
mysql-test/t/error_simulation.test
mysql-test/t/error_simulation.test
+6
-1
No files found.
mysql-test/r/error_simulation.result
View file @
f1312d30
...
...
@@ -13,6 +13,7 @@ INSERT INTO t1 VALUES
('AAAAAAAAAH','AAAAAAAAAH'), ('AAAAAAAAAI','AAAAAAAAAI'),
('AAAAAAAAAJ','AAAAAAAAAJ'), ('AAAAAAAAAK','AAAAAAAAAK');
set tmp_table_size=1024;
set session debug="d,raise_error";
SELECT MAX(a) FROM t1 GROUP BY a,b;
ERROR 23000: Can't write; duplicate key in table 'tmp_table'
set tmp_table_size=default;
...
...
mysql-test/t/error_simulation-master.opt
deleted
100644 → 0
View file @
16d4936e
--loose-debug=d,raise_error
mysql-test/t/error_simulation.test
View file @
f1312d30
...
...
@@ -21,10 +21,15 @@ INSERT INTO t1 VALUES
set
tmp_table_size
=
1024
;
# Set debug flag so an error is returned when
# tmp table in query is converted from heap to myisam
set
session
debug
=
"d,raise_error"
;
--
replace_regex
/
in
table
'[^'
]
+
'/in table '
tmp_table
'
/
--
error
ER_DUP_KEY
SELECT
MAX
(
a
)
FROM
t1
GROUP
BY
a
,
b
;
set
tmp_table_size
=
default
;
DROP
TABLE
t1
;
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