[Commits] Rev 3379: Fixed more compiler warnings. in file:///home/igor/maria/maria-5.3-mwl247/

Igor Babaev igor at askmonty.org
Mon Jan 2 08:42:11 EET 2012


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

------------------------------------------------------------
revno: 3379
revision-id: igor at askmonty.org-20120102064211-cdqcnijx16rdgi9d
parent: igor at askmonty.org-20120102054157-mfzzspzh3ta92ei6
committer: Igor Babaev <igor at askmonty.org>
branch nick: maria-5.3-mwl247
timestamp: Sun 2012-01-01 22:42:11 -0800
message:
  Fixed more compiler warnings. 
-------------- next part --------------
=== modified file 'sql/table.cc'
--- a/sql/table.cc	2012-01-02 04:47:36 +0000
+++ b/sql/table.cc	2012-01-02 06:42:11 +0000
@@ -697,10 +697,12 @@
   uchar *record;
   uchar *disk_buff, *strpos, *null_flags, *null_pos, *options;
   uchar *buff= 0;
-  ulong pos, record_offset, *rec_per_key, rec_buff_length;
+  ulong pos, record_offset;
+  ulong *rec_per_key= NULL;
+  ulong rec_buff_length;
   handler *handler_file= 0;
   KEY	*keyinfo;
-  KEY_PART_INFO *key_part;
+  KEY_PART_INFO *key_part= NULL;
   SQL_CRYPT *crypted=0;
   Field  **field_ptr, *reg_field;
   const char **interval_array;



More information about the commits mailing list