mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 23:25:34 +02:00
automerge
This commit is contained in:
commit
5fc05b9528
5 changed files with 11 additions and 5 deletions
|
|
@ -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((byte*) 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)
|
||||||
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((byte*) hash_key, end - hash_key))
|
||||||
get_view_structure(table, database);
|
get_view_structure(table, database);
|
||||||
}
|
}
|
||||||
if (opt_xml)
|
if (opt_xml)
|
||||||
|
|
|
||||||
|
|
@ -699,8 +699,10 @@ rl_function_of_keyseq (keyseq, map, type)
|
||||||
|
|
||||||
for (i = 0; keyseq && keyseq[i]; i++)
|
for (i = 0; keyseq && keyseq[i]; i++)
|
||||||
{
|
{
|
||||||
unsigned char ic = keyseq[i];
|
unsigned char uc = keyseq[i];
|
||||||
|
int ic;
|
||||||
|
|
||||||
|
ic= uc;
|
||||||
if (META_CHAR (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)
|
||||||
|
|
|
||||||
|
|
@ -1888,7 +1888,7 @@ rl_character_len (c, pos)
|
||||||
|
|
||||||
uc = (unsigned char)c;
|
uc = (unsigned char)c;
|
||||||
|
|
||||||
if (META_CHAR (uc))
|
if (META_CHAR (c))
|
||||||
return ((_rl_output_meta_chars == 0) ? 4 : 1);
|
return ((_rl_output_meta_chars == 0) ? 4 : 1);
|
||||||
|
|
||||||
if (uc == '\t')
|
if (uc == '\t')
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@
|
||||||
.\" === Set line length
|
.\" === Set line length
|
||||||
.\".ll 6.5i
|
.\".ll 6.5i
|
||||||
.TL
|
.TL
|
||||||
|
.warn 0
|
||||||
D B U G
|
D B U G
|
||||||
.P 0
|
.P 0
|
||||||
C Program Debugging Package
|
C Program Debugging Package
|
||||||
|
|
|
||||||
|
|
@ -328,7 +328,10 @@ my_string_repertoire(CHARSET_INFO *cs, const char *str, ulong length)
|
||||||
{
|
{
|
||||||
my_wc_t wc;
|
my_wc_t wc;
|
||||||
int chlen;
|
int chlen;
|
||||||
for (; (chlen= cs->cset->mb_wc(cs, &wc, str, strend)) > 0; str+= chlen)
|
for (; (chlen= cs->cset->mb_wc(cs, &wc,
|
||||||
|
(const unsigned char *) str,
|
||||||
|
(const unsigned char *) strend)) > 0;
|
||||||
|
str+= chlen)
|
||||||
{
|
{
|
||||||
if (wc > 0x7F)
|
if (wc > 0x7F)
|
||||||
return MY_REPERTOIRE_UNICODE30;
|
return MY_REPERTOIRE_UNICODE30;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue