summaryrefslogtreecommitdiff
path: root/sql/sql_acl.cc
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-06-18 01:55:42 +0200
committerunknown <jimw@mysql.com>2005-06-18 01:55:42 +0200
commit94d1d88658e5aa75d999c308ac464014f20a3d02 (patch)
tree076bb703eac95ae156980bf3eda38b417ad59e5e /sql/sql_acl.cc
parent0945dea8d08b13189691052b79fe2bd255e0f008 (diff)
downloadmariadb-git-94d1d88658e5aa75d999c308ac464014f20a3d02.tar.gz
Clean up warnings and build problems on Windows. (Bug #11045)
VC++Files/sql/mysqld.dsp: Link debug server against debug yassl sql/examples/ha_archive.cc: Fix type for variables used to store number of rows Add cast when reading current position sql/examples/ha_archive.h: Fix variables used to store rows to ha_rows sql/ha_federated.cc: Remove unused variables, fix type of variable used to store query id sql/item_strfunc.cc: Remove unused variables sql/sql_acl.cc: Remove unused variables sql/sql_lex.cc: Add casts to fix type used for counting number of rows sql/sql_lex.h: Fix size of options to be ulong again sql/sql_insert.cc: Fix type of query id value sql/sql_union.cc: Cast value for number of rows to ha_rows sql/sql_yacc.yy: Remove unused variable sql/table.cc: Add casts for handling key_part lengths
Diffstat (limited to 'sql/sql_acl.cc')
-rw-r--r--sql/sql_acl.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
index 04da0dd5eb5..c9f727f47d4 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -2476,7 +2476,6 @@ static int replace_routine_table(THD *thd, GRANT_NAME *grant_name,
int old_row_exists= 1;
int error=0;
ulong store_proc_rights;
- byte *key;
DBUG_ENTER("replace_routine_table");
if (!initialized)
@@ -3216,7 +3215,6 @@ my_bool grant_init(THD *org_thd)
do
{
GRANT_NAME *mem_check;
- longlong proc_type;
HASH *hash;
if (!(mem_check=new GRANT_NAME(p_table)))
{