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
91e4fd9a
Commit
91e4fd9a
authored
May 29, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
parents
6b2ab800
dcf9810c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
1 deletion
+13
-1
mysql-test/r/mysqldump.result
mysql-test/r/mysqldump.result
+1
-0
mysql-test/std_data/bug15328.cnf
mysql-test/std_data/bug15328.cnf
+2
-0
mysql-test/t/mysqldump.test
mysql-test/t/mysqldump.test
+7
-0
mysys/default.c
mysys/default.c
+3
-1
No files found.
mysql-test/r/mysqldump.result
View file @
91e4fd9a
...
...
@@ -655,6 +655,7 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
--fields-optionally-enclosed-by="
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
...
...
mysql-test/std_data/bug15328.cnf
0 → 100644
View file @
91e4fd9a
[mysqldump]
fields-optionally-enclosed-by="
mysql-test/t/mysqldump.test
View file @
91e4fd9a
...
...
@@ -606,6 +606,13 @@ select * from t2 order by a;
drop
table
t1
,
t2
;
drop
database
db1
;
#
# BUG#15328 Segmentation fault occured if my.cnf is invalid for escape sequence
#
--
exec
$MYSQL_MY_PRINT_DEFAULTS
--
defaults
-
extra
-
file
=
$MYSQL_TEST_DIR
/
std_data
/
bug15328
.
cnf
mysqldump
#
# Bug #9558 mysqldump --no-data db t1 t2 format still dumps data
#
...
...
mysys/default.c
View file @
91e4fd9a
...
...
@@ -755,7 +755,9 @@ static int search_default_file_with_ext(Process_option_func opt_handler,
value_end
=
value
;
/* remove quotes around argument */
if
((
*
value
==
'\"'
||
*
value
==
'\''
)
&&
*
value
==
value_end
[
-
1
])
if
((
*
value
==
'\"'
||
*
value
==
'\''
)
&&
/* First char is quote */
(
value
+
1
<
value_end
)
&&
/* String is longer than 1 */
*
value
==
value_end
[
-
1
]
)
/* First char is equal to last char */
{
value
++
;
value_end
--
;
...
...
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