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
88a583da
Commit
88a583da
authored
Feb 27, 2006
by
dlenev@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/dlenev/src/mysql-5.0-bg13525
into mysql.com:/home/dlenev/src/mysql-5.1-merges2
parents
c09d27c9
db1ecaa1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
mysql-test/t/trigger.test
mysql-test/t/trigger.test
+4
-3
No files found.
mysql-test/t/trigger.test
View file @
88a583da
...
...
@@ -1028,8 +1028,8 @@ select trigger_schema, trigger_name, event_object_schema,
event_object_table
,
action_statement
from
information_schema
.
triggers
where
event_object_schema
=
'test'
;
# Trick which makes update of second .TRN file impossible
system
echo
dummy
>
var
/
master
-
data
/
test
/
t1_ai
.
TRN
~
;
system
chmod
000
var
/
master
-
data
/
test
/
t1_ai
.
TRN
~
;
system
echo
dummy
>
$MYSQLTEST_VARDIR
/
master
-
data
/
test
/
t1_ai
.
TRN
~
;
system
chmod
000
$MYSQLTEST_VARDIR
/
master
-
data
/
test
/
t1_ai
.
TRN
~
;
--
error
1
rename
table
t1
to
t2
;
# 't1' should be still there and triggers should work correctly
...
...
@@ -1038,7 +1038,8 @@ select @a, @b;
select
trigger_schema
,
trigger_name
,
event_object_schema
,
event_object_table
,
action_statement
from
information_schema
.
triggers
where
event_object_schema
=
'test'
;
system
chmod
600
var
/
master
-
data
/
test
/
t1_ai
.
TRN
;
system
chmod
600
$MYSQLTEST_VARDIR
/
master
-
data
/
test
/
t1_ai
.
TRN
~
;
system
rm
$MYSQLTEST_VARDIR
/
master
-
data
/
test
/
t1_ai
.
TRN
~
;
# Let us check that updates to .TRN files were rolled back too
drop
trigger
t1_bi
;
drop
trigger
t1_ai
;
...
...
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