summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorunknown <jani@ua141d10.elisa.omakaista.fi>2007-03-22 20:32:07 +0200
committerunknown <jani@ua141d10.elisa.omakaista.fi>2007-03-22 20:32:07 +0200
commit7eb3881bd8c6b5c8dc705558414dbbe444804694 (patch)
treeef00f793c494b2bc5628499d60a41d7f7d70aa76 /sql/sql_table.cc
parent39333ba7f205950ce161c051f5487be76674e39e (diff)
downloadmariadb-git-7eb3881bd8c6b5c8dc705558414dbbe444804694.tar.gz
Fixed compiler warnings.
mysys/default.c: Fixed bug. ndb/src/mgmclient/CommandInterpreter.cpp: Added parenthesis around the expression. sql/mysqld.cc: Fixed compiler warnings. Added a missing component in options struct (bug). sql-common/my_time.c: Removed garbage. sql/sql_table.cc: A possible use of a variable uninitialized. support-files/compiler_warnings.supp: BitKeeper file /home/my/bk/mysql-4.1-main/support-files/compiler_warnings.supp
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index 0316d6a3c10..3e9323ec086 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -2711,7 +2711,7 @@ int mysql_alter_table(THD *thd,char *new_db, char *new_name,
enum enum_duplicates handle_duplicates, bool ignore)
{
TABLE *table,*new_table;
- int error;
+ int error= 0;
char tmp_name[80],old_name[32],new_name_buff[FN_REFLEN];
char new_alias_buff[FN_REFLEN], *table_name, *db, *new_alias, *alias;
char index_file[FN_REFLEN], data_file[FN_REFLEN];