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
c99bd3ac
Commit
c99bd3ac
authored
7 years ago
by
Eugene Kosov
Committed by
Aleksey Midenkov
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests: truncate.test: get rid of transaction number
parent
f8b62569
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
mysql-test/suite/versioning/r/truncate.result
mysql-test/suite/versioning/r/truncate.result
+5
-1
mysql-test/suite/versioning/t/truncate.test
mysql-test/suite/versioning/t/truncate.test
+3
-1
No files found.
mysql-test/suite/versioning/r/truncate.result
View file @
c99bd3ac
...
...
@@ -150,7 +150,9 @@ a
select * from t for system_time before timestamp @ts1;
a
1
select * from t for system_time before transaction 2000;
insert into t values (33);
select max(sys_trx_start) from t into @tx;
select * from t for system_time before transaction @tx;
a
1
2
...
...
@@ -160,10 +162,12 @@ a
11
22
2
33
truncate t for system_time before timestamp now(6);
select * from t for system_time all;
a
11
22
33
drop table t;
drop procedure truncate_history_of_t;
This diff is collapsed.
Click to expand it.
mysql-test/suite/versioning/t/truncate.test
View file @
c99bd3ac
...
...
@@ -109,7 +109,9 @@ set @ts1=now(6);
update
t
set
a
=
22
where
a
=
2
;
select
*
from
t
for
system_time
all
;
select
*
from
t
for
system_time
before
timestamp
@
ts1
;
select
*
from
t
for
system_time
before
transaction
2000
;
insert
into
t
values
(
33
);
select
max
(
sys_trx_start
)
from
t
into
@
tx
;
select
*
from
t
for
system_time
before
transaction
@
tx
;
truncate
t
for
system_time
before
timestamp
@
ts1
;
select
*
from
t
for
system_time
all
;
truncate
t
for
system_time
before
timestamp
now
(
6
);
...
...
This diff is collapsed.
Click to expand it.
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