summaryrefslogtreecommitdiff
path: root/sql/sql_load.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-02-25 16:53:22 +0200
committermonty@mysql.com <>2005-02-25 16:53:22 +0200
commit0a6b7aedb2cec716b98349765bfa369354787b25 (patch)
tree9b48fa5a8476d449ea4512314b86f9704517cd0c /sql/sql_load.cc
parentcd78e701a5c83394c360f6ba9a1783c7b950e8ee (diff)
downloadmariadb-git-0a6b7aedb2cec716b98349765bfa369354787b25.tar.gz
Remove compiler warnings and remove not used variables
(Found during build process)
Diffstat (limited to 'sql/sql_load.cc')
-rw-r--r--sql/sql_load.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc
index efd914003dc..174ccdfab5b 100644
--- a/sql/sql_load.cc
+++ b/sql/sql_load.cc
@@ -104,7 +104,6 @@ bool mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
*/
char *tdb= thd->db ? thd->db : db; // Result is never null
ulong skip_lines= ex->skip_lines;
- int res;
bool transactional_table;
DBUG_ENTER("mysql_load");
@@ -144,8 +143,6 @@ bool mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
{ // Part field list
thd->dupp_field=0;
/* TODO: use this conds for 'WITH CHECK OPTIONS' */
- Item *unused_conds= 0;
- TABLE_LIST *leaves= 0;
if (setup_fields(thd, 0, table_list, fields, 1, 0, 0))
DBUG_RETURN(TRUE);
if (thd->dupp_field)