summaryrefslogtreecommitdiff
path: root/dbug
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2012-08-13 22:23:28 +0300
committerMichael Widenius <monty@askmonty.org>2012-08-13 22:23:28 +0300
commitcee888acb36141136cdb121a7bb7d53200b14cb6 (patch)
treeaff0fbc9585911eb70b4f7c1f8f8adc7a0a05019 /dbug
parent1aa6f042dab7a09dd86d96f934faa87df1c005c1 (diff)
downloadmariadb-git-cee888acb36141136cdb121a7bb7d53200b14cb6.tar.gz
Fixed compiler warnings (A few of these was bugs)
client/mysqldump.c: Slave needs to be initialized with 0 dbug/dbug.c: Removed not existing function plugin/semisync/semisync_master.cc: Fixed compiler warning sql/opt_range.cc: thd needs to be set early as it's used in some error conditions. sql/sql_table.cc: Changed to use uchar* to make array indexing portable storage/innobase/handler/ha_innodb.cc: Removed not used variable storage/maria/ma_delete.c: Fixed compiler warning storage/maria/ma_write.c: Fixed compiler warning
Diffstat (limited to 'dbug')
-rw-r--r--dbug/dbug.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/dbug/dbug.c b/dbug/dbug.c
index af0a937ff07..b285b32fa17 100644
--- a/dbug/dbug.c
+++ b/dbug/dbug.c
@@ -284,9 +284,6 @@ static int DoTrace(CODE_STATE *cs);
/* Test to see if file is writable */
#if defined(HAVE_ACCESS)
static BOOLEAN Writable(const char *pathname);
- /* Change file owner and group */
-static void ChangeOwner(CODE_STATE *cs, char *pathname);
- /* Allocate memory for runtime support */
#endif
static void DoPrefix(CODE_STATE *cs, uint line);