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
d02e86de
Commit
d02e86de
authored
Jun 10, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.0
into mdk10.(none):/home/reggie/bk/50test2
parents
4ecc9757
c2c0d653
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
client/mysqlshow.c
client/mysqlshow.c
+1
-1
No files found.
client/mysqlshow.c
View file @
d02e86de
...
@@ -447,7 +447,7 @@ list_tables(MYSQL *mysql,const char *db,const char *table)
...
@@ -447,7 +447,7 @@ list_tables(MYSQL *mysql,const char *db,const char *table)
We just hijack the 'rows' variable for a bit to store the escaped
We just hijack the 'rows' variable for a bit to store the escaped
table name
table name
*/
*/
mysql_
escape_string
(
rows
,
table
,
sizeof
(
rows
));
mysql_
real_escape_string
(
mysql
,
rows
,
table
,
(
unsigned
long
)
strlen
(
table
));
my_snprintf
(
query
,
sizeof
(
query
),
"show%s tables like '%s'"
,
my_snprintf
(
query
,
sizeof
(
query
),
"show%s tables like '%s'"
,
opt_table_type
?
" full"
:
""
,
rows
);
opt_table_type
?
" full"
:
""
,
rows
);
}
}
...
...
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