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
be527f30
Commit
be527f30
authored
Mar 09, 2006
by
anozdrin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for multiple test failures on some platforms.
parent
0903941d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
sql/sql_lex.cc
sql/sql_lex.cc
+2
-1
sql/sql_show.cc
sql/sql_show.cc
+2
-1
No files found.
sql/sql_lex.cc
View file @
be527f30
...
...
@@ -223,7 +223,7 @@ static int find_keyword(LEX *lex, uint len, bool function)
SYNOPSIS
is_keyword()
name checked name
name checked name
(must not be empty)
len length of checked name
RETURN VALUES
...
...
@@ -233,6 +233,7 @@ static int find_keyword(LEX *lex, uint len, bool function)
bool
is_keyword
(
const
char
*
name
,
uint
len
)
{
DBUG_ASSERT
(
len
!=
0
);
return
get_hash_symbol
(
name
,
len
,
0
)
!=
0
;
}
...
...
sql/sql_show.cc
View file @
be527f30
...
...
@@ -713,7 +713,8 @@ append_identifier(THD *thd, String *packet, const char *name, uint length)
int
get_quote_char_for_identifier
(
THD
*
thd
,
const
char
*
name
,
uint
length
)
{
if
(
!
is_keyword
(
name
,
length
)
&&
if
(
!
length
||
!
is_keyword
(
name
,
length
)
&&
!
require_quotes
(
name
,
length
)
&&
!
(
thd
->
options
&
OPTION_QUOTE_SHOW_CREATE
))
return
EOF
;
...
...
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