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
931daaf7
Commit
931daaf7
authored
Jun 13, 2018
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-15319: [SQL Layer] Server crashes in Field::set_null / myrocks::ha_rocksdb ...
Added a testcase
parent
2412c151
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
storage/rocksdb/mysql-test/rocksdb/r/mariadb_port_fixes.result
...ge/rocksdb/mysql-test/rocksdb/r/mariadb_port_fixes.result
+9
-0
storage/rocksdb/mysql-test/rocksdb/t/mariadb_port_fixes.test
storage/rocksdb/mysql-test/rocksdb/t/mariadb_port_fixes.test
+11
-0
No files found.
storage/rocksdb/mysql-test/rocksdb/r/mariadb_port_fixes.result
View file @
931daaf7
...
...
@@ -107,3 +107,12 @@ a b
101 foo
102 bar
DROP TABLE t1;
#
# MDEV-15319: [SQL Layer] Server crashes in Field::set_null / myrocks::ha_rocksdb::convert_record_from_storage_format
# (just a testcase)
#
CREATE TABLE t1 (i INT);
INSERT INTO t1 VALUES (1);
CREATE TABLE t2 ENGINE=RocksDB AS SELECT VALUES(i) AS a FROM t1;
DELETE FROM t2;
DROP TABLE t1,t2;
storage/rocksdb/mysql-test/rocksdb/t/mariadb_port_fixes.test
View file @
931daaf7
...
...
@@ -101,3 +101,14 @@ UPDATE t1 SET a=a+100;
SELECT
*
FROM
t1
;
DROP
TABLE
t1
;
--
echo
#
--
echo
# MDEV-15319: [SQL Layer] Server crashes in Field::set_null / myrocks::ha_rocksdb::convert_record_from_storage_format
--
echo
# (just a testcase)
--
echo
#
CREATE
TABLE
t1
(
i
INT
);
INSERT
INTO
t1
VALUES
(
1
);
CREATE
TABLE
t2
ENGINE
=
RocksDB
AS
SELECT
VALUES
(
i
)
AS
a
FROM
t1
;
DELETE
FROM
t2
;
DROP
TABLE
t1
,
t2
;
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