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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
735203e6
Commit
735203e6
authored
May 02, 2018
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup: quoted_string
parent
47573cee
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
4 deletions
+1
-4
sql/mysqld.cc
sql/mysqld.cc
+0
-1
sql/mysqld.h
sql/mysqld.h
+0
-1
sql/sql_db.cc
sql/sql_db.cc
+1
-2
No files found.
sql/mysqld.cc
View file @
735203e6
...
...
@@ -304,7 +304,6 @@ static TYPELIB tc_heuristic_recover_typelib=
const
char
*
first_keyword
=
"first"
;
const
char
*
my_localhost
=
"localhost"
,
*
delayed_user
=
"DELAYED"
;
const
char
*
quoted_string
=
"%`s"
;
bool
opt_large_files
=
sizeof
(
my_off_t
)
>
4
;
static
my_bool
opt_autocommit
;
///< for --autocommit command-line option
...
...
sql/mysqld.h
View file @
735203e6
...
...
@@ -302,7 +302,6 @@ extern my_bool encrypt_binlog;
extern
my_bool
encrypt_tmp_disk_tables
,
encrypt_tmp_files
;
extern
ulong
encryption_algorithm
;
extern
const
char
*
encryption_algorithm_names
[];
extern
const
char
*
quoted_string
;
#ifdef HAVE_PSI_INTERFACE
#ifdef HAVE_MMAP
...
...
sql/sql_db.cc
View file @
735203e6
...
...
@@ -993,8 +993,7 @@ mysql_rm_db_internal(THD *thd, const LEX_CSTRING *db, bool if_exists, bool silen
if
(
ha_table_exists
(
thd
,
&
tbl
->
db
,
&
tbl
->
table_name
))
continue
;
tbl_name_len
=
my_snprintf
(
quoted_name
,
sizeof
(
quoted_name
),
quoted_string
,
tbl_name_len
=
my_snprintf
(
quoted_name
,
sizeof
(
quoted_name
),
"%`s"
,
tbl
->
table_name
.
str
);
tbl_name_len
++
;
/* +1 for the comma */
if
(
query_pos
+
tbl_name_len
+
1
>=
query_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