- 07 Feb, 2013 4 commits
-
-
Alexander Barkov authored
Using "bool" in pure C code is not a good idea. - Defining BOOL as "long" on Unix (this is how MS defines it) - Replacing bool to BOOL in pure C code. modified: storage/connect/global.h storage/connect/inihandl.c storage/connect/os.h storage/connect/osutil.c storage/connect/osutil.h
-
Alexander Barkov authored
modified: storage/connect/os.h storage/connect/osutil.h
-
Alexander Barkov authored
Use "#include <sql.h>" when needed. modified: storage/connect/catalog.h
-
Alexander Barkov authored
- Fixing line endings from "\r\n" to "\n"
-
- 06 Feb, 2013 6 commits
-
-
Alexander Barkov authored
Otherwise, the further tests fail on "table t1 already exists"
-
Alexander Barkov authored
Currently only for ASCII data. TODO: add tests for extended letters (e.g. Latin1, Cyrillic, etc). added: mysql-test/suite/connect/r/odbc_xls.result mysql-test/suite/connect/std_data/contacts.xls mysql-test/suite/connect/t/odbc_xls.test
-
Alexander Barkov authored
- 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
-
Alexander Barkov authored
added: mysql-test/suite/connect/r/fix.result mysql-test/suite/connect/std_data/boys.txt mysql-test/suite/connect/std_data/boyswin.txt mysql-test/suite/connect/std_data/dept.dat mysql-test/suite/connect/t/fix.test
-
Alexander Barkov authored
added: mysql-test/suite/connect/r/fmt.result mysql-test/suite/connect/std_data/funny.txt mysql-test/suite/connect/std_data/funny2.txt mysql-test/suite/connect/t/fmt.test
-
Alexander Barkov authored
It does not work on Windows. modified: mysql-test/suite/connect/r/dbf.result mysql-test/suite/connect/t/dbf.test
-
- 05 Feb, 2013 1 commit
-
-
Olivier Bertrand authored
create table datasrc ( `anyname` varchar(256) flag=1, `anyother name` varchar(256) flag=2) engine=CONNECT table_type=ODBC option_list='info=yes'; or simply by: create table datasrc engine=CONNECT table_type=ODBC option_list='info=yes'; then: select * from datasrc; Modified: ha_connect.cc odbconn.h odbconn.cpp tabodbc.h tabodbc.cpp
-
- 04 Feb, 2013 5 commits
-
-
Alexander Barkov authored
It's incomplete, because CONNECT engine allows to create the table even if libxml2 is not compiled. Asked Olivier to reject CREATE TABLE in such cases. modified: mysql-test/suite/connect/t/xml.test
-
Alexander Barkov authored
modified: mysql-test/suite/connect/r/dbf.result mysql-test/suite/connect/t/dbf.test
-
Alexander Barkov authored
modified: mysql-test/suite/connect/r/dbf.result mysql-test/suite/connect/t/dbf.test
-
Alexander Barkov authored
Using MariaDB in-house character set conversion routines. modified: storage/connect/CMakeLists.txt storage/connect/tabodbc.cpp storage/connect/tabodbc.h
-
Alexander Barkov authored
The formed required strings.lib in Windows. The latter is an exported symbol from mysqld and does not need strings.lib. modified: storage/connect/ha_connect.cc storage/connect/libdoc.cpp
-
- 03 Feb, 2013 1 commit
-
-
Olivier Bertrand authored
-
- 01 Feb, 2013 9 commits
-
-
Olivier Bertrand authored
2>D:\CommonSource\mariadb-10.0\include\my_pthread.h(120) : warning C4005: '_REENTRANT' : redéfinition de macro 2> D:\Libxml\include\libxml/xmlexports.h(77) : voir la définition précédente de '_REENTRANT' 2>.\libdoc.cpp(378) : error C2664: 'strlen' : impossible de convertir le paramètre 1 de 'xmlChar *' en 'const char *' 2> Les types pointés n'ont aucun rapport entre eux ; conversion nécessitant reinterpret_cast, cast de style C ou cast de style fonction 2>.\libdoc.cpp(379) : error C2664: 'copy_and_convert' : impossible de convertir le paramètre 4 de 'xmlChar *' en 'const char *' 2> Les types pointés n'ont aucun rapport entre eux ; conversion nécessitant reinterpret_cast, cast de style C ou cast de style fonction 2> Fix for that.
-
Alexander Barkov authored
#ifdef defined(XXX) -> #ifdef XXX
-
Alexander Barkov authored
TODO: Access to Field->charset() instead of hardcoded latin1 conversion. modified: storage/connect/libdoc.cpp storage/connect/libdoc.h
-
Alexander Barkov authored
modified: mysql-test/suite/connect/r/dbf.result mysql-test/suite/connect/t/dbf.test
-
Alexander Barkov authored
- LIBXML2_SUPPORT is defined if LibXml2 is found - DOMDOC_SUPPORT is defined if msxml is found - XML_SUPPORT is defined if either of them are found NOXML2 was removed modified: storage/connect/CMakeLists.txt storage/connect/global.h storage/connect/ha_connect.cc storage/connect/plgdbutl.cpp storage/connect/plgxml.cpp
-
Alexander Barkov authored
cmake -DCONNECT_WITH_ICONV=0 modified: storage/connect/CMakeLists.txt storage/connect/tabodbc.cpp storage/connect/tabodbc.h
-
Alexander Barkov authored
The later is not portable (e.g. it does not exist on FreeBSD) modified: storage/connect/ha_connect.cc storage/connect/user_connect.cc storage/connect/user_connect.h
-
Alexander Barkov authored
Hiding calls for ftime() as a temporary fix. This code should be modified to use my_time_microseconds() instead.
-
Alexander Barkov authored
-DCONNECT_WITH_LIBXML2=0 -DCONNECT_WITH_MSXML=0 modified: storage/connect/CMakeLists.txt
-
- 31 Jan, 2013 4 commits
-
-
Olivier Bertrand authored
Fix ha_connect::external_lock to use F_RDLCK, F_WRLCK, F_UNLCK.
-
Alexander Barkov authored
sure the tests work in a similar way on Windows when both DOMDOC and LIBXML2 are compiled. Tests with DOMDOC will go into a separate *.test file. modified: mysql-test/suite/connect/r/xml.result mysql-test/suite/connect/t/xml.test storage/connect/CMakeLists.txt
-
Alexander Barkov authored
added: mysql-test/suite/connect/r/xml.result mysql-test/suite/connect/std_data/ mysql-test/suite/connect/std_data/cp1251.xml mysql-test/suite/connect/std_data/latin1.xml mysql-test/suite/connect/std_data/nocs.xml mysql-test/suite/connect/std_data/xsample.xml mysql-test/suite/connect/t/xml.test
-
Alexander Barkov authored
modified: mysql-test/suite/connect/r/dbf.result mysql-test/suite/connect/t/dbf.test
-
- 30 Jan, 2013 3 commits
-
-
Olivier Bertrand authored
-
Alexander Barkov authored
modified: mysql-test/suite/connect/r/dbf.result mysql-test/suite/connect/t/dbf.test
-
Alexander Barkov authored
added: mysql-test/suite/connect/ mysql-test/suite/connect/r/ mysql-test/suite/connect/r/dbf.result mysql-test/suite/connect/suite.opt mysql-test/suite/connect/suite.pm mysql-test/suite/connect/t/ mysql-test/suite/connect/t/dbf.test
-
- 29 Jan, 2013 7 commits
-
-
Olivier Bertrand authored
-
Olivier Bertrand authored
-
Olivier Bertrand authored
-
Alexander Barkov authored
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
-
Alexander Barkov authored
modified: storage/connect/value.h
-
Alexander Barkov authored
It's defined in my_global.h which is included through handler.h modified: storage/connect/connect.cc
-
Alexander Barkov authored
in unixODBC headers on 64-bit platforms. Moving function definitions from value.cpp to odbconn.cpp. Changing scope of GetSQLType and GetSQLCType from public to static. modified: storage/connect/odbconn.cpp storage/connect/value.cpp storage/connect/value.h
-