← Back to team overview

maria-developers team mailing list archive

Rev 2728: Fix ha_maria to compile on Windows in file:///home/psergey/dev/maria-5.1-fixwindows/

 

At file:///home/psergey/dev/maria-5.1-fixwindows/

------------------------------------------------------------
revno: 2728
revision-id: psergey@xxxxxxxxxxxx-20090906154940-bdwpqtizq0v9wb4q
parent: knielsen@xxxxxxxxxxxxxxx-20090904074534-tyya4rfwjgvbt5ch
committer: Sergey Petrunya <psergey@xxxxxxxxxxxx>
branch nick: maria-5.1-fixwindows
timestamp: Sun 2009-09-06 19:49:40 +0400
message:
  Fix ha_maria to compile on Windows
=== modified file 'storage/maria/ma_rt_index.c'
--- a/storage/maria/ma_rt_index.c	2009-02-19 09:01:25 +0000
+++ b/storage/maria/ma_rt_index.c	2009-09-06 15:49:40 +0000
@@ -1133,13 +1133,13 @@
   {
     uint nod_flag;
     ulong i;
+    uchar *page_buf;
+    MARIA_PAGE page;
     MARIA_KEY tmp_key;
     tmp_key.keyinfo=     key->keyinfo;
     tmp_key.data_length= key->data_length;
     tmp_key.ref_length=  key->ref_length;
     tmp_key.flag=        0;                     /* Safety */
-    uchar *page_buf;
-    MARIA_PAGE page;
 
     if (ReinsertList.n_pages)
     {