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
34b317c8
Commit
34b317c8
authored
Dec 11, 2007
by
istruewing@stella.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge stella.local:/home2/mydev/mysql-5.0-axmrg
into stella.local:/home2/mydev/mysql-5.1-axmrg
parents
65fda831
ba2d58ae
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
mysql-test/r/func_misc.result
mysql-test/r/func_misc.result
+6
-6
mysql-test/t/func_misc.test
mysql-test/t/func_misc.test
+8
-8
No files found.
mysql-test/r/func_misc.result
View file @
34b317c8
...
...
@@ -212,12 +212,6 @@ test
SELECT NAME_CONST('test', 'test');
test
test
create table t1 (a int not null);
insert into t1 values (-1), (-2);
select min(a) from t1 group by inet_ntoa(a);
min(a)
-2
drop table t1;
CREATE TABLE t1(a INT);
INSERT INTO t1 VALUES (), (), ();
SELECT NAME_CONST(a, '1') FROM t1;
...
...
@@ -225,6 +219,12 @@ ERROR HY000: Incorrect arguments to NAME_CONST
SET INSERT_ID= NAME_CONST(a, a);
ERROR HY000: Incorrect arguments to NAME_CONST
DROP TABLE t1;
create table t1 (a int not null);
insert into t1 values (-1), (-2);
select min(a) from t1 group by inet_ntoa(a);
min(a)
-2
drop table t1;
End of 5.0 tests
select connection_id() > 0;
connection_id() > 0
...
...
mysql-test/t/func_misc.test
View file @
34b317c8
...
...
@@ -213,14 +213,6 @@ SELECT NAME_CONST('test', 1.0);
SELECT
NAME_CONST
(
'test'
,
-
1.0
);
SELECT
NAME_CONST
(
'test'
,
'test'
);
#
# Bug #31349: ERROR 1062 (23000): Duplicate entry '' for key 'group_key'
#
create
table
t1
(
a
int
not
null
);
insert
into
t1
values
(
-
1
),
(
-
2
);
select
min
(
a
)
from
t1
group
by
inet_ntoa
(
a
);
drop
table
t1
;
#
# Bug #32559: connection hangs on query with name_const
#
...
...
@@ -232,6 +224,14 @@ SELECT NAME_CONST(a, '1') FROM t1;
SET
INSERT_ID
=
NAME_CONST
(
a
,
a
);
DROP
TABLE
t1
;
#
# Bug #31349: ERROR 1062 (23000): Duplicate entry '' for key 'group_key'
#
create
table
t1
(
a
int
not
null
);
insert
into
t1
values
(
-
1
),
(
-
2
);
select
min
(
a
)
from
t1
group
by
inet_ntoa
(
a
);
drop
table
t1
;
--
echo
End
of
5.0
tests
#
...
...
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