diff options
author | unknown <monty@mysql.com> | 2005-05-25 18:33:32 +0300 |
---|---|---|
committer | unknown <monty@mysql.com> | 2005-05-25 18:33:32 +0300 |
commit | c6283dbba9e0ec066e9fd8211e0d1629507f193e (patch) | |
tree | 42f0d293d887020470308fc65537d1fe4d775e46 /sql/sql_base.cc | |
parent | ab1ba1341c3eed4375739ec166fc26fdbb9e3631 (diff) | |
download | mariadb-git-c6283dbba9e0ec066e9fd8211e0d1629507f193e.tar.gz |
Cleanup's during review
Added ASSERT() to detect wrongly packed fields
sql/field.h:
Fixed comments to right format
sql/opt_range.cc:
Merged code
sql/sql_base.cc:
Fixed indentation
sql/sql_insert.cc:
Fixed comments to right format
sql/sql_select.cc:
Simplify code
sql/unireg.cc:
Simply code for calculating key_buff_length
Added ASSERT() to detect wrongly packed fields
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r-- | sql/sql_base.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc index 29d9a7bf9c4..f5c4889cfe4 100644 --- a/sql/sql_base.cc +++ b/sql/sql_base.cc @@ -1607,9 +1607,9 @@ static int open_unireg_entry(THD *thd, TABLE *entry, const char *db, trying to discover the table at the same time. */ if (discover_retry_count++ != 0) - goto err; + goto err; if (ha_create_table_from_engine(thd, db, name, TRUE) != 0) - goto err; + goto err; mysql_reset_errors(thd, 1); // Clear warnings thd->clear_error(); // Clear error message |