[MDEV-3454] LP:457923 - types conversion problem during compilation under windows x64 Created: 2009-10-22  Updated: 2012-10-04  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Oleksandr Byelkin Assignee: Oleksandr Byelkin
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug457923.xml     File LPexportBug457923_ulint_patch.diff    

 Description   

there is number of errors like this during attempt to compile under windows x64 (vista):
..\storage\xtradb\handler\ha_innodb.cc(9947) : error C2440: 'initializing' : cannot convert from 'ulint *' to 'unsigned long *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\storage\xtradb\handler\ha_innodb.cc(9952) : error C2440: 'initializing' : cannot convert from 'ulint *' to 'unsigned long *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\storage\xtradb\handler\ha_innodb.cc(10015) : error C2440: 'initializing' : cannot convert from 'ulint *' to 'unsigned long *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast



 Comments   
Comment by Oleksandr Byelkin [ 2009-10-30 ]

Re: types conversion problem during compilation under windows x64
I found the problem (fixed in innodb but not in additional xtradb options): options should be declared as ulong instead of ulint.

Comment by Oleksandr Byelkin [ 2009-10-30 ]

Re: types conversion problem during compilation under windows x64

Comment by Oleksandr Byelkin [ 2009-10-30 ]

Proposed patch for this bug
LPexportBug457923_ulint_patch.diff

Comment by Michael Widenius [ 2009-11-02 ]

re: [Bug 457923] Re: types conversion problem during compilation under windows x64

Hi!

>>>>> "Oleksandr" == Oleksandr Byelkin <Oleksandr> writes:

Oleksandr> ** Attachment added: "Proposed patch for this bug"
Oleksandr> http://launchpadlibrarian.net/34701960/ulint_patch.diff

ok to push.

Regards,
Monty

Comment by Stewart Smith [ 2011-06-07 ]

Re: types conversion problem during compilation under windows x64
All development of XtraDB has moved under the Percona Server project - https://launchpad.net/percona-server - If this bug can be reproduced against current Percona Server, please file this bug against percona-server (you can simply do so by using the "Also affects project" link above).

Thanks,
Stewart Smith
Director of Server Development
Percona.

Comment by Rasmus Johansson (Inactive) [ 2011-06-07 ]

Launchpad bug id: 457923

Generated at Thu Feb 08 06:48:45 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.