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
68da0130
Commit
68da0130
authored
Jan 31, 2009
by
Davi Arnaut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test cases to preserve the state that existed before the
test case was executed.
parent
ece2f23a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
0 deletions
+14
-0
mysql-test/r/func_compress.result
mysql-test/r/func_compress.result
+1
-0
mysql-test/r/innodb_bug34300.result
mysql-test/r/innodb_bug34300.result
+5
-0
mysql-test/t/func_compress.test
mysql-test/t/func_compress.test
+3
-0
mysql-test/t/innodb_bug34300.test
mysql-test/t/innodb_bug34300.test
+5
-0
No files found.
mysql-test/r/func_compress.result
View file @
68da0130
...
...
@@ -72,6 +72,7 @@ set @@global.max_allowed_packet=1048576*100;
select compress(repeat('aaaaaaaaaa', IF(XXX, 10, 10000000))) is null;
compress(repeat('aaaaaaaaaa', IF(XXX, 10, 10000000))) is null
0
set @@global.max_allowed_packet=default;
create table t1(a blob);
insert into t1 values(NULL), (compress('a'));
select uncompress(a), uncompressed_length(a) from t1;
...
...
mysql-test/r/innodb_bug34300.result
View file @
68da0130
SELECT f4, f8 FROM bug34300;
f4 f8
xxx zzz
ALTER TABLE bug34300 ADD COLUMN (f10 INT);
SELECT f4, f8 FROM bug34300;
f4 f8
xxx zzz
DROP TABLE bug34300;
SET @@global.max_allowed_packet=default;
mysql-test/t/func_compress.test
View file @
68da0130
...
...
@@ -49,6 +49,9 @@ set @@global.max_allowed_packet=1048576*100;
# reconnect to make the new max packet size take effect
--
connect
(
newconn
,
localhost
,
root
,,)
eval
select
compress
(
repeat
(
'aaaaaaaaaa'
,
IF
(
'$LOW_MEMORY'
,
10
,
10000000
)))
is
null
;
disconnect
newconn
;
connection
default
;
set
@@
global
.
max_allowed_packet
=
default
;
#
# Bug #18643: problem with null values
...
...
mysql-test/t/innodb_bug34300.test
View file @
68da0130
...
...
@@ -21,6 +21,7 @@ CREATE TABLE bug34300 (
INSERT
INTO
bug34300
VALUES
(
'xxx'
,
repeat
(
'a'
,
8459264
),
'zzz'
);
--
enable_query_log
--
enable_result_log
SELECT
f4
,
f8
FROM
bug34300
;
...
...
@@ -30,3 +31,7 @@ ALTER TABLE bug34300 ADD COLUMN (f10 INT);
SELECT
f4
,
f8
FROM
bug34300
;
DROP
TABLE
bug34300
;
disconnect
newconn
;
connection
default
;
SET
@@
global
.
max_allowed_packet
=
default
;
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