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
edb4dd53
Commit
edb4dd53
authored
Mar 17, 2005
by
gluh@gluh.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after merge fix
parent
b435d6e8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
9 deletions
+10
-9
heap/hp_create.c
heap/hp_create.c
+2
-0
mysql-test/r/func_gconcat.result
mysql-test/r/func_gconcat.result
+0
-1
mysql-test/r/func_str.result
mysql-test/r/func_str.result
+6
-6
sql/ha_heap.cc
sql/ha_heap.cc
+1
-1
sql/item.h
sql/item.h
+0
-1
sql/sql_select.cc
sql/sql_select.cc
+1
-0
No files found.
heap/hp_create.c
View file @
edb4dd53
...
...
@@ -168,6 +168,8 @@ int heap_create(const char *name, uint keys, HP_KEYDEF *keydef,
keyinfo
->
write_key
=
hp_write_key
;
keyinfo
->
hash_buckets
=
0
;
}
if
((
keyinfo
->
flag
&
HA_AUTO_KEY
)
&&
create_info
->
with_auto_increment
)
share
->
auto_key
=
i
+
1
;
}
share
->
min_records
=
min_records
;
share
->
max_records
=
max_records
;
...
...
mysql-test/r/func_gconcat.result
View file @
edb4dd53
...
...
@@ -476,4 +476,3 @@ x (select group_concat(x) from r2)
1 1,1
2 2,2
drop table r2;
mysql-test/r/func_str.result
View file @
edb4dd53
...
...
@@ -692,16 +692,16 @@ drop table t1, t2;
create table t1 (c1 INT, c2 INT UNSIGNED);
insert into t1 values ('21474836461','21474836461');
Warnings:
Warning 126
5 Data trunca
ted for column 'c1' at row 1
Warning 126
5 Data trunca
ted for column 'c2' at row 1
Warning 126
4 Out of range value adjus
ted for column 'c1' at row 1
Warning 126
4 Out of range value adjus
ted for column 'c2' at row 1
insert into t1 values ('-21474836461','-21474836461');
Warnings:
Warning 126
5 Data trunca
ted for column 'c1' at row 1
Warning 126
5 Data trunca
ted for column 'c2' at row 1
Warning 126
4 Out of range value adjus
ted for column 'c1' at row 1
Warning 126
4 Out of range value adjus
ted for column 'c2' at row 1
show warnings;
Level Code Message
Warning 126
5 Data trunca
ted for column 'c1' at row 1
Warning 126
5 Data trunca
ted for column 'c2' at row 1
Warning 126
4 Out of range value adjus
ted for column 'c1' at row 1
Warning 126
4 Out of range value adjus
ted for column 'c2' at row 1
select * from t1;
c1 c2
2147483647 4294967295
...
...
sql/ha_heap.cc
View file @
edb4dd53
...
...
@@ -523,7 +523,7 @@ int ha_heap::create(const char *name, TABLE *table_arg,
}
if
(
field
->
flags
&
AUTO_INCREMENT_FLAG
&&
table_arg
->
found_next_number_field
&&
key
==
table_arg
->
next_number_index
)
key
==
share
->
next_number_index
)
{
/*
Store key number and type for found auto_increment key
...
...
sql/item.h
View file @
edb4dd53
...
...
@@ -1291,7 +1291,6 @@ class Item_ref :public Item_ident
return
depended_from
?
OUTER_REF_TABLE_BIT
:
(
*
ref
)
->
used_tables
();
}
void
set_result_field
(
Field
*
field
)
{
result_field
=
field
;
}
Field
*
get_tmp_table_field
()
{
return
result_field
;
}
bool
is_result_field
()
{
return
1
;
}
void
save_in_result_field
(
bool
no_conversions
)
{
...
...
sql/sql_select.cc
View file @
edb4dd53
...
...
@@ -1386,6 +1386,7 @@ JOIN::exec()
{
DBUG_VOID_RETURN
;
}
curr_join
->
group_list
=
0
;
}
thd
->
proc_info
=
"Copying to group table"
;
...
...
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