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
323284d5
Commit
323284d5
authored
Nov 28, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
parents
8f60d95c
1a7783e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
mysql-test/r/func_compress.result
mysql-test/r/func_compress.result
+2
-2
mysql-test/t/func_compress.test
mysql-test/t/func_compress.test
+4
-1
No files found.
mysql-test/r/func_compress.result
View file @
323284d5
...
...
@@ -69,6 +69,6 @@ Error 1259 ZLIB: Input data corrupted
Error 1256 Uncompressed data size too large; the maximum size is 1048576 (probably, length of uncompressed data was corrupted)
drop table t1;
set @@max_allowed_packet=1048576*100;
select compress(repeat('aaaaaaaaaa',
10000000
)) is null;
compress(repeat('aaaaaaaaaa',
10000000
)) is null
select compress(repeat('aaaaaaaaaa',
IF(XXX, 10, 10000000)
)) is null;
compress(repeat('aaaaaaaaaa',
IF(XXX, 10, 10000000)
)) is null
0
mysql-test/t/func_compress.test
View file @
323284d5
...
...
@@ -38,7 +38,10 @@ drop table t1;
#
# Bug #5497: a problem with large strings
# note that when LOW_MEMORY is set the "test" below is meaningless
#
set
@@
max_allowed_packet
=
1048576
*
100
;
select
compress
(
repeat
(
'aaaaaaaaaa'
,
10000000
))
is
null
;
--
replace_result
"''"
XXX
"'1'"
XXX
eval
select
compress
(
repeat
(
'aaaaaaaaaa'
,
IF
(
'$LOW_MEMORY'
,
10
,
10000000
)))
is
null
;
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