- 09 Feb, 2013 2 commits
-
-
Olivier Bertrand authored
No commit message
-
Olivier Bertrand authored
included by the program using them. Continuing implementing the "catalog" tables (ex "info"). Already existing were the ODBC data source table and the WMI column info table. A common way to handle them will permit to develop many other such tables. Implemented: The ODBC column catalog table. The ODBC tables catalog table. The ODBC drivers catalog table. The INFO table option is replaced by the CATFUNC string option whode first letter specifies the information to retrieve: C: Columns (of a table) T: Tables (of a database) S: Data sources D: Drivers Modified: ha_connect.cc odbconn.cpp odbconn.h tabodbc.h tabodbc.cpp rcmsg.c tabfmt.h tabmysql.cpp tabwmi.cpp tabwmi.h resource.h myconn.h filamdbf.h connect.cc connect.h Added: myutil.h
-
- 08 Feb, 2013 9 commits
-
-
Alexander Barkov authored
The libary to handle INI files on Windows XP adds an extra empty line before sections name. Newer versions of Windows do not. Unix replacement implementation also do not. modified: mysql-test/suite/connect/r/ini.result mysql-test/suite/connect/t/ini.test
-
Alexander Barkov authored
added: mysql-test/suite/connect/r/dir.result mysql-test/suite/connect/t/dir.test
-
Alexander Barkov authored
added: mysql-test/suite/connect/r/ini.result mysql-test/suite/connect/std_data/contact.ini mysql-test/suite/connect/t/ini.test
-
Alexander Barkov authored
pending merges: Alexander Barkov 2013-02-08 Adding tests for TABLE_TYPE=CSV
-
Alexander Barkov authored
-
Alexander Barkov authored
added: mysql-test/suite/connect/r/csv.result mysql-test/suite/connect/std_data/people.csv mysql-test/suite/connect/t/csv.test
-
Alexander Barkov authored
added: mysql-test/suite/connect/r/bin.result mysql-test/suite/connect/std_data/Testbal.dat mysql-test/suite/connect/t/bin.test
-
Olivier Bertrand authored
2) Fix bug on bad sprintf 3) Fix bug on cast from pointer to int 4) Begin implementing the "info" tables. Already existing were the ODBC sata source table and the WMI column info table. A common way to handle them will permit to develop many other such tables. Implemented: The ODBC column info table. Modified: ha_connect.cc (4) odbconn.cpp (4) tabodbc.h (4) tabodbc.cpp (4) tabsys.h (3) rcmsg.c (4) tabfmt.cpp (2) tabtbl.cpp (1) resource.h (4) mycat.h (4)
-
Olivier Bertrand authored
2) Fix bug on bad sprintf 3) Fix bug on cast from pointer to int 4) Begin implementing the "info" tables. Already existing were the ODBC sata source table and the WMI column info table. A common way to handle them will permit to develop many other such tables. Implemented: The ODBC column info table. Modified: ha_connect.cc (4) odbconn.cpp (4) tabodbc.h (4) tabodbc.cpp (4) tabsys.h (3) rcmsg.c (4) tabfmt.cpp (2) tabtbl.cpp (1) resource.h (4) mycat.h (4)
-
- 07 Feb, 2013 14 commits
-
-
Olivier Bertrand authored
2) Fix bug on bad sprintf 3) Fix bug on cast from pointer to int 4) Begin implementing the "info" tables. Already existing were the ODBC sata source table and the WMI column info table. A common way to handle them will permit to develop many other such tables. Implemented: The ODBC column info table. Modified: ha_connect.cc (4) odbconn.cpp (4) tabodbc.h (4) tabodbc.cpp (4) tabsys.h (3) rcmsg.c (4) tabfmt.cpp (2) tabtbl.cpp (1) resource.h (4) mycat.h (4)
-
Alexander Barkov authored
modified: storage/connect/CMakeLists.txt storage/connect/tabmul.cpp
-
Alexander Barkov authored
> deleting object of polymorphic class type ‘CATALOG’ which > has non-virtual destructor might cause undefined behaviour > [-Wdelete-non-virtual-dtor] Classes whose instances are destroyed using "delete" should have virtual destructors. modified: storage/connect/catalog.h
-
Alexander Barkov authored
Changing result type for the method from "char*" instead of "const char*". modified: storage/connect/odbconn.h
-
Alexander Barkov authored
KXYCOL::Kof’ will be initialized after ‘void*& KXYCOL::To_Bkeys’ [-Wreorder] modified: storage/connect/xindex.cpp
-
Alexander Barkov authored
modified: storage/connect/CMakeLists.txt
-
Alexander Barkov authored
modified: storage/connect/ha_connect.cc
-
Alexander Barkov authored
We need to fix and enable all warnings gradually. modified: storage/connect/CMakeLists.txt
-
Alexander Barkov authored
modified: storage/connect/filamap.cpp storage/connect/filamdbf.cpp storage/connect/filamfix.cpp storage/connect/filamtxt.cpp storage/connect/filamvct.cpp storage/connect/ha_connect.cc storage/connect/osutil.c storage/connect/plgdbutl.cpp storage/connect/plugutil.c storage/connect/tabfix.cpp storage/connect/tabxml.cpp storage/connect/user_connect.cc storage/connect/value.cpp storage/connect/xindex.cpp
-
Alexander Barkov authored
-
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 2 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
-