[Commits] Rev 2820: Post-merge fixes in comments. in file:///home/igor/maria/maria-5.3-mwl106/

igor at askmonty.org igor at askmonty.org
Thu Sep 23 20:30:27 EEST 2010


At file:///home/igor/maria/maria-5.3-mwl106/

------------------------------------------------------------
revno: 2820
revision-id: igor at askmonty.org-20100923173022-5bzrq56tn5q8usz5
parent: igor at askmonty.org-20100923151053-43xdqm98uwi0xyjp
committer: Igor Babaev <igor at askmonty.org>
branch nick: maria-5.3-mwl106
timestamp: Thu 2010-09-23 10:30:22 -0700
message:
  Post-merge fixes in comments.
-------------- next part --------------
=== modified file 'sql/table.cc'
--- a/sql/table.cc	2010-09-23 15:10:53 +0000
+++ b/sql/table.cc	2010-09-23 17:30:22 +0000
@@ -5169,13 +5169,13 @@
   @brief
   Allocate space for keys
 
-  @param key_count  number of keys to allocate.
+  @param key_count  number of keys to allocate
 
   @details
-  Allocate space enough to fit 'key_count' keys for this table.
+  The function allocates memory  to fit 'key_count' keys for this table.
 
-  @return FALSE space was successfully allocated.
-  @return TRUE an error occur.
+  @return FALSE   space was successfully allocated
+  @return TRUE    an error occur
 */
 
 bool TABLE::alloc_keys(uint key_count)
@@ -5196,12 +5196,12 @@
   @param next_field_no  the call-back function that returns the number of
                         the field used as the next component of the key
   @param arg            the argument for the above function
-  @param unique         Is it unique index
+  @param unique         TRUE <=> it is a unique index
 
   @details
-  The function adds a new key to the table that is assumed to be
-  temprary table. The call-back function must at each call must return
-  the number of the field that used as next component of this key
+  The function adds a new key to the table that is assumed to be a temporary
+  table. At each its invocation the call-back function must return
+  the number of the field that is used as the next component of this key.
 
   @return FALSE is a success
   @return TRUE if a failure



More information about the commits mailing list