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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
dcf5d348
Commit
dcf5d348
authored
Nov 16, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug#14433 - archive uses wrong ref_length
mysql-test/t/func_group.test: re-enable the test
parent
8a661e77
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
mysql-test/t/disabled.def
mysql-test/t/disabled.def
+0
-1
mysql-test/t/func_group.test
mysql-test/t/func_group.test
+2
-2
sql/ha_archive.cc
sql/ha_archive.cc
+2
-1
No files found.
mysql-test/t/disabled.def
View file @
dcf5d348
...
@@ -15,4 +15,3 @@ rpl_relayrotate : Unstable test case, bug#12429
...
@@ -15,4 +15,3 @@ rpl_relayrotate : Unstable test case, bug#12429
rpl_until : Unstable test case, bug#12429
rpl_until : Unstable test case, bug#12429
rpl_deadlock : Unstable test case, bug#12429
rpl_deadlock : Unstable test case, bug#12429
kill : Unstable test case, bug#9712
kill : Unstable test case, bug#9712
archive_gis : The test fails on 32bit Linux
mysql-test/t/func_group.test
View file @
dcf5d348
...
@@ -2,8 +2,6 @@
...
@@ -2,8 +2,6 @@
# simple test of all group functions
# simple test of all group functions
#
#
--
source
include
/
have_innodb
.
inc
--
disable_warnings
--
disable_warnings
drop
table
if
exists
t1
,
t2
;
drop
table
if
exists
t1
,
t2
;
--
enable_warnings
--
enable_warnings
...
@@ -545,10 +543,12 @@ DROP TABLE t1;
...
@@ -545,10 +543,12 @@ DROP TABLE t1;
# Bug #12882 min/max inconsistent on empty table
# Bug #12882 min/max inconsistent on empty table
#
#
--
disable_warnings
create
table
t1m
(
a
int
)
engine
=
myisam
;
create
table
t1m
(
a
int
)
engine
=
myisam
;
create
table
t1i
(
a
int
)
engine
=
innodb
;
create
table
t1i
(
a
int
)
engine
=
innodb
;
create
table
t2m
(
a
int
)
engine
=
myisam
;
create
table
t2m
(
a
int
)
engine
=
myisam
;
create
table
t2i
(
a
int
)
engine
=
innodb
;
create
table
t2i
(
a
int
)
engine
=
innodb
;
--
enable_warnings
insert
into
t2m
values
(
5
);
insert
into
t2m
values
(
5
);
insert
into
t2i
values
(
5
);
insert
into
t2i
values
(
5
);
...
...
sql/ha_archive.cc
View file @
dcf5d348
...
@@ -233,7 +233,8 @@ ha_archive::ha_archive(TABLE *table_arg)
...
@@ -233,7 +233,8 @@ ha_archive::ha_archive(TABLE *table_arg)
buffer
.
set
((
char
*
)
byte_buffer
,
IO_SIZE
,
system_charset_info
);
buffer
.
set
((
char
*
)
byte_buffer
,
IO_SIZE
,
system_charset_info
);
/* The size of the offset value we will use for position() */
/* The size of the offset value we will use for position() */
ref_length
=
sizeof
(
z_off_t
);
ref_length
=
2
<<
((
zlibCompileFlags
()
>>
6
)
&
3
);
DBUG_ASSERT
(
ref_length
<=
sizeof
(
z_off_t
));
}
}
/*
/*
...
...
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