summaryrefslogtreecommitdiff
path: root/sql/ha_innodb.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2004-04-05 13:56:05 +0300
committermonty@mysql.com <>2004-04-05 13:56:05 +0300
commit42cf92ce37c7ce9b7356d04273a858a9e42823b5 (patch)
tree0bfd237ce668df7f8a361ddbc36762c5a16b2bae /sql/ha_innodb.cc
parent99f712a30bc6fcdb5a71cf349243295458d22074 (diff)
downloadmariadb-git-42cf92ce37c7ce9b7356d04273a858a9e42823b5.tar.gz
Fixed many compiler warnings
Fixed bugs in group_concat with ORDER BY and DISTINCT (Bugs #2695, #3381 and #3319) Fixed crash when doing rollback in slave and the io thread catched up with the sql thread Set locked_in_memory properly
Diffstat (limited to 'sql/ha_innodb.cc')
-rw-r--r--sql/ha_innodb.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc
index 5d3d2a2fb4f..e0abe5a22e0 100644
--- a/sql/ha_innodb.cc
+++ b/sql/ha_innodb.cc
@@ -134,7 +134,6 @@ static mysql_byte* innobase_get_key(INNOBASE_SHARE *share,uint *length,
my_bool not_used __attribute__((unused)));
static INNOBASE_SHARE *get_share(const char *table_name);
static void free_share(INNOBASE_SHARE *share);
-static void innobase_print_error(const char* db_errpfx, char* buffer);
/* General functions */
@@ -1292,18 +1291,6 @@ innobase_close_connection(
return(0);
}
-/**********************************************************************
-Prints an error message. */
-static
-void
-innobase_print_error(
-/*=================*/
- const char* db_errpfx, /* in: error prefix text */
- char* buffer) /* in: error text */
-{
- sql_print_error("%s: %s", db_errpfx, buffer);
-}
-
/*****************************************************************************
** InnoDB database tables