← Back to team overview

maria-developers team mailing list archive

[Branch ~maria-captains/maria/5.1] Rev 2728: Fix ha_maria to compile on Windows

 

------------------------------------------------------------
revno: 2728
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:
  storage/maria/ma_rt_index.c


--
lp:maria
https://code.launchpad.net/~maria-captains/maria/5.1

Your team Maria developers is subscribed to branch lp:maria.
To unsubscribe from this branch go to https://code.launchpad.net/~maria-captains/maria/5.1/+edit-subscription.
=== modified file 'storage/maria/ma_rt_index.c'
--- storage/maria/ma_rt_index.c	2009-02-19 09:01:25 +0000
+++ 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)
     {