summaryrefslogtreecommitdiff
path: root/storage/connect/maputil.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed compiler warnings from connect engineMonty2019-08-231-1/+1
| | | | | | | | | | - clang complains about register in C++ - Removed not used variables - Fixed bug when printing date in filamdbf.cpp - Added {} to fix warning about dangling else - Changed connect_done_func() to be global to remove conflict with header files - Added extra () around assignment in if
* MDEV-9617 solaris sparc build fails on 10.0Sergei Golubchik2016-04-241-2/+2
| | | | | | | | | | | | | Spider: SunPro only supports array declarations with constant size. Spider already has a workaround for that, inside #ifdef _MSC_VER. Enable this code also for __SUNPRO_CC Connect: Don't use anonymous union. Cast for mmap. Don't pass gcc-ish -W... options to SunPro
* Change all preprocessor compiler directives to use __WIN__ as the mean ofOlivier Bertrand2015-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | specifying Windows or not Windows compile. This is what MariaDB does. modified: storage/connect/array.cpp modified: storage/connect/blkfil.cpp modified: storage/connect/block.h modified: storage/connect/colblk.cpp modified: storage/connect/domdoc.cpp modified: storage/connect/filamap.cpp modified: storage/connect/filamdbf.cpp modified: storage/connect/filamfix.cpp modified: storage/connect/filamtxt.cpp modified: storage/connect/filamvct.cpp modified: storage/connect/filamzip.cpp modified: storage/connect/filter.cpp modified: storage/connect/filter.h modified: storage/connect/fmdlex.c modified: storage/connect/global.h modified: storage/connect/ha_connect.cc modified: storage/connect/json.cpp modified: storage/connect/macutil.cpp modified: storage/connect/macutil.h modified: storage/connect/maputil.cpp modified: storage/connect/mycat.cc modified: storage/connect/myconn.cpp modified: storage/connect/myconn.h modified: storage/connect/myutil.cpp modified: storage/connect/odbconn.cpp modified: storage/connect/odbconn.h modified: storage/connect/os.h modified: storage/connect/osutil.c modified: storage/connect/plgdbsem.h modified: storage/connect/plgdbutl.cpp modified: storage/connect/plugutil.c modified: storage/connect/rcmsg.c modified: storage/connect/reldef.cpp modified: storage/connect/reldef.h modified: storage/connect/tabdos.cpp modified: storage/connect/tabfix.cpp modified: storage/connect/tabfmt.cpp modified: storage/connect/tabjson.cpp modified: storage/connect/tabmac.cpp modified: storage/connect/tabmac.h modified: storage/connect/tabmul.cpp modified: storage/connect/tabmul.h modified: storage/connect/tabmysql.cpp modified: storage/connect/taboccur.cpp modified: storage/connect/tabodbc.cpp modified: storage/connect/tabpivot.cpp modified: storage/connect/tabsys.cpp modified: storage/connect/tabtbl.cpp modified: storage/connect/tabutil.cpp modified: storage/connect/tabvct.cpp modified: storage/connect/tabwmi.cpp modified: storage/connect/tabxcl.cpp modified: storage/connect/tabxml.cpp modified: storage/connect/valblk.cpp modified: storage/connect/value.cpp modified: storage/connect/xindex.cpp modified: storage/connect/xindex.h
* - Fix a test failure. Due to mmap on void file being accepted on WindowsOlivier Bertrand2014-08-271-6/+8
| | | | | | | | | | | | | | | | | | while returning an error on Linux. Now accepted on linux. modified: storage/connect/maputil.cpp - Fix a BUG in the XHUGE class. lseek64 was wrongly regarded as in error when returning 0 instead of -1. This produced wrong index files. modified: storage/connect/filamfix.cpp storage/connect/maputil.cpp storage/connect/xindex.cpp - Fix length mismatch (tab instead of blanks?) modified: storage/connect/mysql-test/connect/r/updelx.result
* - FIX some MAP and XMAP errors (such as mapped indexes not closed)Olivier Bertrand2014-05-101-1/+10
| | | | | | | | | | | | | | | | | | | | Do not put version in XML files header Remove HTON_NO_PARTITION for testing Fix a wrong return (instead of DBUG_RETURN) in index_init Plus a few typos modified: storage/connect/connect.cc storage/connect/filter.cpp storage/connect/ha_connect.cc storage/connect/maputil.cpp storage/connect/mysql-test/connect/r/alter_xml.result storage/connect/mysql-test/connect/r/xml.result storage/connect/table.cpp storage/connect/tabxml.cpp storage/connect/xindex.cpp storage/connect/xindex.h storage/connect/xtable.h
* - Resetting chmod to non executableunknown2013-03-111-0/+0
| | | | | | modified: storage/connect/maputil.cpp*
* - Commit changes on memory mapping that hopefully should now work on Linux.Olivier Bertrand2013-03-081-3/+3
| | | | | | | | | modified: storage/connect/maputil.cpp storage/connect/tabdos.cpp storage/connect/tabfmt.cpp storage/connect/tabvct.cpp
* - Working on the problem of writing to mapped files on LinuxOlivier Bertrand2013-03-081-4/+12
|\ | | | | | | | | | | modified: storage/connect/maputil.cpp*
| * - Fix a bug causing the server to crash when writing on a memory mappedOlivier Bertrand2013-03-071-5/+16
| | | | | | | | | | | | | | | | file on Linux. modified: storage/connect/maputil.cpp
* | - Fix bug causing a crash when writing to a memory mapped file on Linux.Olivier Bertrand2013-03-071-5/+14
|/ | | | | | modified: storage/connect/maputil.cpp
* - Fixing TAB to 2 spacesAlexander Barkov2013-02-071-172/+172
| | | | | - Fixing line endings from "\r\n" to "\n"
* Introducing functions global_open() and global_fopen() for these purposes:Alexander Barkov2013-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | - Removing duplicate code to generate error message text - In the future they will most likely check secure_file_priv directory. modified: storage/connect/filamdbf.cpp storage/connect/filamfix.cpp storage/connect/filamtxt.cpp storage/connect/filamvct.cpp storage/connect/libdoc.cpp storage/connect/maputil.cpp storage/connect/plgdbsem.h storage/connect/plgdbutl.cpp storage/connect/tabfmt.cpp storage/connect/tabmul.cpp storage/connect/tabxml.cpp storage/connect/xindex.cpp
* Removing os2def.hAlexander Barkov2013-01-291-1/+0
| | | | | | | | | | | | | removed: storage/connect/os2def.h modified: storage/connect/fmdlex.c storage/connect/maputil.cpp storage/connect/tabcol.cpp storage/connect/tabfmt.cpp storage/connect/tabmul.cpp storage/connect/tabmysql.cpp
* Adding the CONNECT storage engine sources.Alexander Barkov2013-01-181-0/+173