Bug #25505 Myisam library compiler error on Windows
Submitted: 9 Jan 2007 22:37 Modified: 30 Jan 2007 3:41
Reporter: Miguel Solorzano Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:4.1BK OS:Windows (Windows)
Assigned to: Magnus BlÄudd CPU Architecture:Any

[9 Jan 2007 22:37] Miguel Solorzano
Description:
myisam\mi_packrec.c(595): error C2143: syntax error : missing ';' before 'const'
.....

How to repeat:
Compile myisam 4.1 source on Windows.

Suggested fix:
*** older/mi_packrec.c  Wed Dec 20 12:18:08 2006
--- new/mi_packrec.c    Tue Jan  9 20:25:25 2007
***************
*** 591,598 ****
                              uint16 *decode_table)
  {
    uint prev_offset;
-   prev_offset= offset;
    DBUG_ENTER("copy_decode_table");

    /* Descent on the left side. */
    if (!(*decode_table & IS_CHAR))
--- 591,598 ----
                              uint16 *decode_table)
  {
    uint prev_offset;
    DBUG_ENTER("copy_decode_table");
+   prev_offset= offset;

    /* Descent on the left side. */
    if (!(*decode_table & IS_CHAR))
[17 Jan 2007 10:51] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/18240

ChangeSet@1.2598, 2007-01-17 11:51:52+01:00, msvensson@pilot.mysql.com +1 -0
  Bug#25505 Myisam library compiler error on Windows
[30 Jan 2007 3:41] Paul DuBois
No changelog entry needed.