mirror of
https://git.freebsd.org/ports.git
synced 2025-07-11 14:29:17 -04:00
PR: 193539 Submitted by: spil.oss (gmail) MariaDB is a database server that offers drop-in replacement functionality for MySQL. MariaDB is built by some of the original authors of MySQL, with assistance from the broader community of Free and open source software developers. In addition to the core functionality of MySQL, MariaDB offers a rich set of feature enhancements including alternate storage engines, server optimizations, and patches.
27 lines
1 KiB
C++
27 lines
1 KiB
C++
--- storage/connect/filamap.h.orig 2014-09-25 00:29:47.000000000 +0200
|
|
+++ storage/connect/filamap.h 2014-09-27 11:44:39.000000000 +0200
|
|
@@ -47,7 +47,7 @@
|
|
virtual void Rewind(void);
|
|
|
|
protected:
|
|
- virtual int InitDelete(PGLOBAL g, int fpos, int spos);
|
|
+ virtual int InitDelete(PGLOBAL g, uintptr_t fpos, uintptr_t spos);
|
|
|
|
// Members
|
|
char *Memory; // Pointer on file mapping view.
|
|
@@ -104,13 +104,13 @@
|
|
virtual int MaxBlkSize(PGLOBAL g, int s)
|
|
{return TXTFAM::MaxBlkSize(g, s);}
|
|
virtual bool SetPos(PGLOBAL g, int recpos);
|
|
- virtual int GetNextPos(void) {return (int)Fpos + Nrec;}
|
|
+ virtual int GetNextPos(void) {return (uintptr_t)Fpos + Nrec;}
|
|
virtual bool DeferReading(void) {return false;}
|
|
virtual int ReadBuffer(PGLOBAL g);
|
|
virtual int WriteBuffer(PGLOBAL g);
|
|
|
|
protected:
|
|
- virtual int InitDelete(PGLOBAL g, int fpos, int spos);
|
|
+ virtual int InitDelete(PGLOBAL g, uintptr_t fpos, uintptr_t spos);
|
|
|
|
// No additional members
|
|
}; // end of class MPXFAM
|