summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2005-05-25 18:33:32 +0300
committerunknown <monty@mysql.com>2005-05-25 18:33:32 +0300
commitc6283dbba9e0ec066e9fd8211e0d1629507f193e (patch)
tree42f0d293d887020470308fc65537d1fe4d775e46 /sql/field.h
parentab1ba1341c3eed4375739ec166fc26fdbb9e3631 (diff)
downloadmariadb-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/field.h')
-rw-r--r--sql/field.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/sql/field.h b/sql/field.h
index f68a2327dff..d58746b6068 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -439,10 +439,12 @@ public:
/* The maximum number of decimal digits can be stored */
uint precision;
uint bin_size;
- /* Constructors take max_length of the field as a parameter - not the */
- /* precision as the number of decimal digits allowed */
- /* So for example we need to count length from precision handling */
- /* CREATE TABLE ( DECIMAL(x,y)) */
+ /*
+ Constructors take max_length of the field as a parameter - not the
+ precision as the number of decimal digits allowed.
+ So for example we need to count length from precision handling
+ CREATE TABLE ( DECIMAL(x,y))
+ */
Field_new_decimal(char *ptr_arg, uint32 len_arg, uchar *null_ptr_arg,
uchar null_bit_arg,
enum utype unireg_check_arg, const char *field_name_arg,