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
45080daf
Commit
45080daf
authored
Apr 23, 2003
by
Sinisa@sinisa.nasamreza.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removing back tick support from the server in change_db()
parent
fd58dc20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
sql/sql_db.cc
sql/sql_db.cc
+0
-7
No files found.
sql/sql_db.cc
View file @
45080daf
...
@@ -351,13 +351,6 @@ bool mysql_change_db(THD *thd,const char *name)
...
@@ -351,13 +351,6 @@ bool mysql_change_db(THD *thd,const char *name)
x_free
(
dbname
);
x_free
(
dbname
);
DBUG_RETURN
(
1
);
DBUG_RETURN
(
1
);
}
}
if
(
dbname
[
0
]
==
'`'
&&
dbname
[
db_length
-
1
]
==
'`'
)
{
int
counter
=
1
;
for
(;
counter
<
db_length
-
1
;
counter
++
)
dbname
[
counter
-
1
]
=
dbname
[
counter
];
dbname
[(
db_length
=
counter
)
-
1
]
=
'\0'
;
}
DBUG_PRINT
(
"info"
,(
"Use database: %s"
,
dbname
));
DBUG_PRINT
(
"info"
,(
"Use database: %s"
,
dbname
));
if
(
test_all_bits
(
thd
->
master_access
,
DB_ACLS
))
if
(
test_all_bits
(
thd
->
master_access
,
DB_ACLS
))
db_access
=
DB_ACLS
;
db_access
=
DB_ACLS
;
...
...
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