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
5c7d1020
Commit
5c7d1020
authored
Jan 17, 2003
by
monty@mashka.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After merge fix
parent
f4b950df
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
.bzrignore
.bzrignore
+1
-0
myisam/mi_create.c
myisam/mi_create.c
+1
-1
mysql-test/r/group_by.result
mysql-test/r/group_by.result
+14
-0
No files found.
.bzrignore
View file @
5c7d1020
...
...
@@ -522,3 +522,4 @@ vio/test-ssl
vio/test-sslclient
vio/test-sslserver
vio/viotest-ssl
extra/mysql_waitpid
myisam/mi_create.c
View file @
5c7d1020
...
...
@@ -449,7 +449,7 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs,
share
.
base
.
keystart
=
share
.
state
.
state
.
key_file_length
=
MY_ALIGN
(
info_length
,
myisam_block_size
);
share
.
base
.
max_key_block_length
=
max_key_block_length
;
share
.
base
.
max_key_length
=
ALIGN_SIZE
(
max_key_length
[
+
4
);
share
.
base
.
max_key_length
=
ALIGN_SIZE
(
max_key_length
+
4
);
share
.
base
.
records
=
ci
->
max_rows
;
share
.
base
.
reloc
=
ci
->
reloc_rows
;
share
.
base
.
reclength
=
real_reclength
;
...
...
mysql-test/r/group_by.result
View file @
5c7d1020
...
...
@@ -467,3 +467,17 @@ NOT NULL);
max(value)
4
drop table t1,t2,t3;
create table t1 (a blob null);
insert into t1 values (NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(""),(""),(""),("b");
select a,count(*) from t1 group by a;
a count(*)
NULL 9
3
b 1
set option sql_big_tables=1;
select a,count(*) from t1 group by a;
a count(*)
NULL 9
3
b 1
drop table t1;
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