summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorLuis Soares <luis.soares@sun.com>2009-11-13 10:17:53 +0000
committerLuis Soares <luis.soares@sun.com>2009-11-13 10:17:53 +0000
commitd8ca6b9dd9111db8f303d872f279f374af68e80b (patch)
tree5107afeb0f71e17a7fcdff3685ea606313d1aa3c /sql/sql_show.cc
parent0d46e5880e0bb00183b93dedfb8fb007f46dc36e (diff)
parent7cf9ee96ae496654ac912080f9b7a64f2950e938 (diff)
downloadmariadb-git-d8ca6b9dd9111db8f303d872f279f374af68e80b.tar.gz
manual merge: mysql-5.1-rep+2 (bug tree) --> mysql-5.1-rep+2 (latest)
CONFLICTS ========= Text conflict in sql/sql_yacc.yy 1 conflicts encountered.
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc29
1 files changed, 0 insertions, 29 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 75c9ea6c524..1747da1a149 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -920,35 +920,6 @@ mysqld_list_fields(THD *thd, TABLE_LIST *table_list, const char *wild)
DBUG_VOID_RETURN;
}
-
-int
-mysqld_dump_create_info(THD *thd, TABLE_LIST *table_list, int fd)
-{
- Protocol *protocol= thd->protocol;
- String *packet= protocol->storage_packet();
- DBUG_ENTER("mysqld_dump_create_info");
- DBUG_PRINT("enter",("table: %s",table_list->table->s->table_name.str));
-
- protocol->prepare_for_resend();
- if (store_create_info(thd, table_list, packet, NULL,
- FALSE /* show_database */))
- DBUG_RETURN(-1);
-
- if (fd < 0)
- {
- if (protocol->write())
- DBUG_RETURN(-1);
- protocol->flush();
- }
- else
- {
- if (my_write(fd, (const uchar*) packet->ptr(), packet->length(),
- MYF(MY_WME)))
- DBUG_RETURN(-1);
- }
- DBUG_RETURN(0);
-}
-
/*
Go through all character combinations and ensure that sql_lex.cc can
parse it as an identifier.