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
a312cb28
Commit
a312cb28
authored
Apr 27, 2021
by
Aleksey Midenkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-20842 fix test internal check failure
parent
23e09062
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
mysql-test/suite/versioning/r/trx_id.result
mysql-test/suite/versioning/r/trx_id.result
+3
-2
mysql-test/suite/versioning/t/trx_id.opt
mysql-test/suite/versioning/t/trx_id.opt
+0
-1
mysql-test/suite/versioning/t/trx_id.test
mysql-test/suite/versioning/t/trx_id.test
+3
-2
No files found.
mysql-test/suite/versioning/r/trx_id.result
View file @
a312cb28
install plugin test_versioning soname 'test_versioning.so';
set default_storage_engine= innodb;
create or replace table t1 (
x int,
...
...
@@ -505,10 +506,10 @@ add `row_end` bigint unsigned as row end,
add period for system_time(`row_start`,`row_end`),
modify x int after row_start,
with system versioning;
create or replace database tes
t;
drop table
t;
#
# MDEV-20842 Crash using versioning plugin functions after plugin was removed from server
#
uninstall plugin test_versioning;
select trt_begin_ts(0);
ERROR 42000: FUNCTION trt_begin_ts does not exist
ERROR 42000: FUNCTION t
est.t
rt_begin_ts does not exist
mysql-test/suite/versioning/t/trx_id.opt
deleted
100644 → 0
View file @
23e09062
--plugin-load-add=$TEST_VERSIONING_SO
mysql-test/suite/versioning/t/trx_id.test
View file @
a312cb28
...
...
@@ -5,6 +5,8 @@ if (!$TEST_VERSIONING_SO)
--
source
include
/
have_innodb
.
inc
--
source
include
/
default_charset
.
inc
--
eval
install
plugin
test_versioning
soname
'$TEST_VERSIONING_SO'
set
default_storage_engine
=
innodb
;
create
or
replace
table
t1
(
...
...
@@ -528,8 +530,7 @@ alter table t add `row_start` bigint unsigned as row start,
add
period
for
system_time
(
`row_start`
,
`row_end`
),
modify
x
int
after
row_start
,
with
system
versioning
;
create
or
replace
database
test
;
drop
table
t
;
--
echo
#
--
echo
# MDEV-20842 Crash using versioning plugin functions after plugin was removed from server
...
...
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