mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Addendum to Bug #45286 : implement reviewer's remarks.
This commit is contained in:
@ -3122,7 +3122,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((byte*) 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));
|
||||||
@ -3143,7 +3143,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((byte*) 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)
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user