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
9ceb3726
Commit
9ceb3726
authored
Jun 05, 2009
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Plain Diff
merged 5.0-bugteam -> 5.1-bugteam
parents
a74766c2
6010bd18
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
8 deletions
+7
-8
client/mysqldump.c
client/mysqldump.c
+2
-2
cmd-line-utils/readline/bind.c
cmd-line-utils/readline/bind.c
+2
-4
cmd-line-utils/readline/chardefs.h
cmd-line-utils/readline/chardefs.h
+2
-1
cmd-line-utils/readline/display.c
cmd-line-utils/readline/display.c
+1
-1
No files found.
client/mysqldump.c
View file @
9ceb3726
...
@@ -4110,7 +4110,7 @@ static my_bool dump_all_views_in_db(char *database)
...
@@ -4110,7 +4110,7 @@ static my_bool dump_all_views_in_db(char *database)
for
(
numrows
=
0
;
(
table
=
getTableName
(
1
));
)
for
(
numrows
=
0
;
(
table
=
getTableName
(
1
));
)
{
{
char
*
end
=
strmov
(
afterdot
,
table
);
char
*
end
=
strmov
(
afterdot
,
table
);
if
(
include_table
(
(
uchar
*
)
hash_key
,
end
-
hash_key
))
if
(
include_table
(
hash_key
,
end
-
hash_key
))
{
{
numrows
++
;
numrows
++
;
dynstr_append_checked
(
&
query
,
quote_name
(
table
,
table_buff
,
1
));
dynstr_append_checked
(
&
query
,
quote_name
(
table
,
table_buff
,
1
));
...
@@ -4131,7 +4131,7 @@ static my_bool dump_all_views_in_db(char *database)
...
@@ -4131,7 +4131,7 @@ static my_bool dump_all_views_in_db(char *database)
while
((
table
=
getTableName
(
0
)))
while
((
table
=
getTableName
(
0
)))
{
{
char
*
end
=
strmov
(
afterdot
,
table
);
char
*
end
=
strmov
(
afterdot
,
table
);
if
(
include_table
(
(
uchar
*
)
hash_key
,
end
-
hash_key
))
if
(
include_table
(
hash_key
,
end
-
hash_key
))
get_view_structure
(
table
,
database
);
get_view_structure
(
table
,
database
);
}
}
if
(
opt_xml
)
if
(
opt_xml
)
...
...
cmd-line-utils/readline/bind.c
View file @
9ceb3726
...
@@ -699,11 +699,9 @@ rl_function_of_keyseq (keyseq, map, type)
...
@@ -699,11 +699,9 @@ rl_function_of_keyseq (keyseq, map, type)
for
(
i
=
0
;
keyseq
&&
keyseq
[
i
];
i
++
)
for
(
i
=
0
;
keyseq
&&
keyseq
[
i
];
i
++
)
{
{
unsigned
char
uc
=
keyseq
[
i
];
unsigned
char
ic
=
keyseq
[
i
];
int
ic
;
ic
=
uc
;
if
(
META_BYTE
(
ic
)
&&
_rl_convert_meta_chars_to_ascii
)
if
(
META_CHAR
(
ic
)
&&
_rl_convert_meta_chars_to_ascii
)
{
{
if
(
map
[
ESC
].
type
==
ISKMAP
)
if
(
map
[
ESC
].
type
==
ISKMAP
)
{
{
...
...
cmd-line-utils/readline/chardefs.h
View file @
9ceb3726
...
@@ -59,7 +59,8 @@
...
@@ -59,7 +59,8 @@
#define largest_char 255
/* Largest character value. */
#define largest_char 255
/* Largest character value. */
#define CTRL_CHAR(c) ((c) < control_character_threshold && (((c) & 0x80) == 0))
#define CTRL_CHAR(c) ((c) < control_character_threshold && (((c) & 0x80) == 0))
#define META_CHAR(c) ((c) > meta_character_threshold && (c) <= largest_char)
#define META_BYTE(c) ((c) > meta_character_threshold)
#define META_CHAR(c) (META_BYTE(c) && (c) <= largest_char)
#define CTRL(c) ((c) & control_character_mask)
#define CTRL(c) ((c) & control_character_mask)
#define META(c) ((c) | meta_character_bit)
#define META(c) ((c) | meta_character_bit)
...
...
cmd-line-utils/readline/display.c
View file @
9ceb3726
...
@@ -1888,7 +1888,7 @@ rl_character_len (c, pos)
...
@@ -1888,7 +1888,7 @@ rl_character_len (c, pos)
uc
=
(
unsigned
char
)
c
;
uc
=
(
unsigned
char
)
c
;
if
(
META_
CHAR
(
c
))
if
(
META_
BYTE
(
u
c
))
return
((
_rl_output_meta_chars
==
0
)
?
4
:
1
);
return
((
_rl_output_meta_chars
==
0
)
?
4
:
1
);
if
(
uc
==
'\t'
)
if
(
uc
==
'\t'
)
...
...
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