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
14e778e4
Commit
14e778e4
authored
Jun 30, 2005
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After review fixes
parent
16abf200
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
client/mysqldump.c
client/mysqldump.c
+2
-2
No files found.
client/mysqldump.c
View file @
14e778e4
...
...
@@ -1224,7 +1224,7 @@ static uint get_table_structure(char *table, char *db)
/* Create temp table by selecting from the view */
my_snprintf
(
query_buff
,
sizeof
(
query_buff
),
"
create temporary table %s select * from %s where 1=
0"
,
"
CREATE TEMPORARY TABLE %s SELECT * FROM %s WHERE
0"
,
result_table
,
result_table
);
if
(
mysql_query_with_error_report
(
sock
,
0
,
query_buff
))
{
...
...
@@ -1233,7 +1233,7 @@ static uint get_table_structure(char *table, char *db)
}
/* Get CREATE statement for the temp table */
my_snprintf
(
query_buff
,
sizeof
(
query_buff
),
"
show create table
%s"
,
my_snprintf
(
query_buff
,
sizeof
(
query_buff
),
"
SHOW CREATE TABLE
%s"
,
result_table
);
if
(
mysql_query_with_error_report
(
sock
,
0
,
query_buff
))
{
...
...
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