diff options
author | unknown <monty@hundin.mysql.fi> | 2001-06-14 15:12:01 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-06-14 15:12:01 +0300 |
commit | 48bc7b78221aae11ed62d57dcf8300f209c4b2ca (patch) | |
tree | f6d08d122c9d7fa374b23d5f03dba2613da497b9 /sql/sql_class.h | |
parent | 9d0e2843c420e28f7294d53ae2668188de7fe7f3 (diff) | |
download | mariadb-git-48bc7b78221aae11ed62d57dcf8300f209c4b2ca.tar.gz |
cleanup; Fixed type bug in new delete code.
sql/sql_class.h:
Fixed types
sql/sql_delete.cc:
Fixed typo-bug.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 3b83558ebdb..6963b890051 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -603,12 +603,14 @@ public: byte * dup_checking; THD *thd; ha_rows deleted; - int num_of_tables, error; + uint num_of_tables; + int error; thr_lock_type lock_option; bool do_delete; public: - multi_delete(TABLE_LIST *dt, thr_lock_type o, uint n) - : delete_tables (dt), lock_option(o), deleted(0), num_of_tables(n), error(0) + multi_delete(TABLE_LIST *dt, thr_lock_type lock_option_arg, uint n) + : delete_tables (dt), deleted(0), num_of_tables(n), error(0), + lock_option(lock_option_arg) { thd = current_thd; do_delete = false; } |