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
cd2de0a5
Commit
cd2de0a5
authored
Jul 01, 2003
by
monty@mashka.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed testcases and bug introduced by last changeset
parent
baf9baba
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
mysql-test/r/func_gconcat.result
mysql-test/r/func_gconcat.result
+1
-1
mysql-test/r/grant_cache.result
mysql-test/r/grant_cache.result
+1
-1
mysys/mf_loadpath.c
mysys/mf_loadpath.c
+6
-3
No files found.
mysql-test/r/func_gconcat.result
View file @
cd2de0a5
...
...
@@ -169,7 +169,7 @@ select REQ_ID, Group_Concat(URL) as URL from T_URL, T_REQUEST where
T_REQUEST.URL_ID = T_URL.URL_ID group by REQ_ID;
REQ_ID URL
1 www.host.com
5 www.
host.com,www.google.com,www.help
.com
5 www.
google.com,www.help.com,www.host
.com
drop table T_URL;
drop table T_REQUEST;
select group_concat(sum(a)) from t1 group by grp;
...
...
mysql-test/r/grant_cache.result
View file @
cd2de0a5
...
...
@@ -122,7 +122,7 @@ select "user4";
user4
user4
select a from t1;
ERROR
42
000: No Database Selected
ERROR
3D
000: No Database Selected
select * from mysqltest.t1,test.t1;
a b c a
1 1 1 test.t1
...
...
mysys/mf_loadpath.c
View file @
cd2de0a5
...
...
@@ -28,6 +28,7 @@ my_string my_load_path(my_string to, const char *path,
const
char
*
own_path_prefix
)
{
char
buff
[
FN_REFLEN
];
int
is_cur
;
DBUG_ENTER
(
"my_load_path"
);
DBUG_PRINT
(
"enter"
,(
"path: %s prefix: %s"
,
path
,
own_path_prefix
?
own_path_prefix
:
""
));
...
...
@@ -35,12 +36,14 @@ my_string my_load_path(my_string to, const char *path,
if
((
path
[
0
]
==
FN_HOMELIB
&&
path
[
1
]
==
FN_LIBCHAR
)
||
test_if_hard_path
(
path
))
VOID
(
strmov
(
buff
,
path
));
else
if
((
path
[
0
]
==
FN_CURLIB
&&
path
[
1
]
==
FN_LIBCHAR
)
||
else
if
((
is_cur
=
(
path
[
0
]
==
FN_CURLIB
&&
path
[
1
]
==
FN_LIBCHAR
)
)
||
(
is_prefix
((
gptr
)
path
,
FN_PARENTDIR
))
||
!
own_path_prefix
)
{
if
(
!
my_getwd
(
buff
,(
uint
)
(
FN_REFLEN
+
2
-
strlen
(
path
)),
MYF
(
0
)))
VOID
(
strcat
(
buff
,
path
+
2
));
if
(
is_cur
)
is_cur
=
2
;
/* Remove current dir */
if
(
!
my_getwd
(
buff
,(
uint
)
(
FN_REFLEN
-
strlen
(
path
)
+
is_cur
),
MYF
(
0
)))
VOID
(
strcat
(
buff
,
path
+
is_cur
));
else
VOID
(
strmov
(
buff
,
path
));
/* Return org file name */
}
...
...
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