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
4aee752c
Commit
4aee752c
authored
Mar 21, 2003
by
walrus@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crash-me.sh:
add foreign key value update test
parent
3d090552
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
sql-bench/crash-me.sh
sql-bench/crash-me.sh
+14
-0
No files found.
sql-bench/crash-me.sh
View file @
4aee752c
...
...
@@ -2178,6 +2178,20 @@ report("views","views",
save_config_data
(
'foreign_key'
,
$result
,
"foreign keys"
)
;
}
if
(
$limits
{
'foreign_key'
}
eq
'yes'
)
{
report
(
"allows to update of foreign key values"
,
'foreign_update'
,
"create table crash_me1 (a int not null primary key)"
,
"create table crash_me2 (a int not null,"
.
" foreign key (a) references crash_me1 (a))"
,
"insert into crash_me1 values (1)"
,
"insert into crash_me2 values (1)"
,
"update crash_me1 set a = 2"
,
## <- must fail
"drop table crash_me2
$drop_attr
"
,
"drop table crash_me1
$drop_attr
"
)
;
}
report
(
"Create SCHEMA"
,
"create_schema"
,
"create schema crash_schema create table crash_q (a int) "
.
"create table crash_q2(b int)"
,
...
...
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