case $host_os in
mingw*)
- #durty hack fixes weird behaviour of gcc -O[123] optimizations with ejdb test cases on win32
- #CCOPT=`$CC -O2 -Q --help=optimizers | grep enabled | sed 's/\[[enabled\]]//' | tr '\n' ' ' | sed 's/[[[:blank:]]]\+/ /g'`
- CCOPT="-O2 -mfpmath=sse -flto"
+ CCOPT="-O2"
;;
*)
- CCOPT="-O2 -mfpmath=sse -flto"
+ CCOPT="-O2"
;;
esac
case $host_os in
mingw*)
- #durty hack fixes weird behaviour of gcc -O[123] optimizations with ejdb test cases on win32
- #CCOPT=`$CC -O2 -Q --help=optimizers | grep enabled | sed 's/\[[enabled\]]//' | tr '\n' ' ' | sed 's/[[[:blank:]]]\+/ /g'`
- CCOPT="-O2 -mfpmath=sse -flto"
+ CCOPT="-O2"
;;
*)
- CCOPT="-O2 -mfpmath=sse -flto"
+ CCOPT="-O2"
;;
esac
http://blogs.operationaldynamics.com/pmiller/sw/new-lintian1-changes-distribution-check
debuild --changes-option=-DDistribution=`awk -F= '/CODENAME/{print $2}' /etc/lsb-release` -us -uc
+
+dpkg-gensymbols -v1.1.1 -elibtcejdb.so.9.11.0 -plibtcejdb9 -Odebian/libtcejdb9.symbols
return false;
}
if (finc != 0) {
+ if (!HDBLOCKSMEM(hdb, false)) return false;
hdb->fsiz += finc;
uint64_t llnum = hdb->fsiz;
llnum = TCHTOILL(llnum);
- if (!HDBLOCKSMEM(hdb, false)) return false;
memcpy((void *) (hdb->map + HDBFSIZOFF), &llnum, sizeof (llnum));
HDBUNLOCKSMEM(hdb);
}
typedef struct { /* type of structure for a hash database */
+ volatile bool tran; /* whether in the transaction */
bool ba64; /* using of 64-bit bucket array */
- bool tran; /* whether in the transaction */
bool zmode; /* whether compression is used */
bool async; /* whether asynchronous storing is called */
bool fatal; /* whether a fatal error occured */
void *decop; /* opaque object for the decoding functions */
volatile int ecode; /* last happened error code */
int32_t fbpmax; /* maximum number of the free block pool */
- int32_t fbpnum; /* number of the free block pool */
int32_t fbpmis; /* number of missing retrieval of the free block pool */
uint32_t align; /* record alignment */
uint32_t runit; /* record reading unit */
uint32_t rcnum; /* maximum number of cached records */
uint32_t dfunit; /* unit step number of auto defragmentation */
- uint32_t dfcnt; /* counter of auto defragmentation */
+ int32_t fbpnum; /* number of the free block pool */
+ volatile uint32_t dfcnt; /* counter of auto defragmentation */
uint32_t omode; /* open mode */
HANDLE fd; /* file descriptor of the database file */
HANDLE walfd; /* file descriptor of write ahead logging */